Intigriti XSS Challenge July 2024 — Finding a new DOMPurify bug
The challenge page had a DOM-based XSS vulnerability protected by CSP, and the author found a way to bypass it by using DOM clobbering to trigger a development code path and a new DOMPurify bug that caused an uncaught error, leading to script execution. An attacker could execute arbitrary JavaScript in the context of the challenge page.
DOMPurify