The issue was addressed with improved checks. This issue is fixed in tvOS 18.1, iOS 18.1 and iPadOS 18.1, iOS 17.7.1 and iPadOS 17.7.1, watchOS 11.1, visionOS 2.1, macOS Sequoia 15.1, Safari 18.1. Processing maliciously crafted web content may prevent Content Security Policy from being enforced.
https://support.apple.com/en-us/121571
https://support.apple.com/en-us/121569
https://support.apple.com/en-us/121567
https://support.apple.com/en-us/121566
https://support.apple.com/en-us/121565