For reference I believe the referenced change is "Added blocking for known tracking query parameters in links in Private Browsing. (99360362)":
https://developer.apple.com/documentation/safari-release-notes/safari-17-release-notes
I would also love to know how the filtering logic works. Primarily, I'm wondering if/how Safari would be able to leave alone valid campaign IDs (not tied directly to user).