Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade dompurify to version 3.5.0 or higher.
dompurify is a DOM-only XSS sanitizer for HTML, MathML and SVG.
Affected versions of this package are vulnerable to Template Injection in the serialized output of sanitize() when SAFE_FOR_TEMPLATES: true is set. An attacker can execute arbitrary JavaScript in a template engine (demonstrated with in-DOM Vue 3 templates and AngularJS) by submitting markup, such as a sequence of nested <form> elements or an element whose removal leaves end tags without a matching start tag, that contains no {{...}}, ${...}, or <%...%> sequence in the sanitized string but reassembles one once the output is reparsed, for example by assignment to innerHTML.
This requires only that the application use SAFE_FOR_TEMPLATES for its documented purpose, with no other non-default configuration.
The fix for the end-tag-removal variant shipped in 3.4.18, but the nested-form variant remains exploitable in that release and is fixed only starting in 3.5.0.