It’s kind of laborious, but if you have the need then you can revert macOS to a previous version (well, reinstalling with the original version for that particular Mac); and then updating from there until before that particular security update that breaks Xojo 2022r3.2.
Doing that on an external drive/partition also should work… leaving your current main drive / macOS version untouched. In fact I have a lot of external drives around here just to start from any given macOS version supported on any of the Macs sitting here.