This issue was addressed by improved management of object lifetimes. This issue is fixed in iOS 12.5.2, iOS 14.4.2 and iPadOS 14.4.2, watchOS 7.3.3. Processing maliciously crafted web content may lead to universal cross site scripting. Apple is aware of a report that this issue may have been actively exploited..
https://thehackernews.com/2024/08/russian-hackers-exploit-safari-and.html
https://www.tenable.com/cyber-exposure/2021-threat-landscape-retrospective
https://blog.google/threat-analysis-group/how-we-protect-users-0-day-attacks/
https://support.apple.com/en-us/HT212258