Getting /null urls in GA4

Ho Everyone

While looking at the GA4 for one of my campaigns, I came across a lot of pages with /null

Eg- blog/topic-name/ null

There are no such pages on the website and these are returning 404

There are a total of 65 pages,

How can I fix this?

Is this a tracking issue or CMS issue

Please help.