This of course also happens plenty when Wikipedia isn't involved, but for whatever reason people seem to have the mistaken idea that citing Wikipedia is inherently bad. There's no rule against citing Wikipedia, or tertiary sources in general, from professional work.
When a later person (e.g. a scholar or Wikipedia author) is trying to understand your work, it's incredibly helpful to know where some claim or idea came from. Otherwise they have to jump through extra hoops to trace the actual attributions and figure out where mistakes came from.
Wikipedia's original research policy is not relevant to what works you should cite in academic papers. A Wikipedia article is not supposed to contain the original research of its authors, because it's the wrong venue for such work, and because when such material is added it typically turns out to be nonsense or spam, but rejecting it on the grounds that it is unsourced is much easier.