Vulnerabilities/

DOMPurify contains a Cross-site Scripting vulnerability (GHSA-v8jm-5vwx-cfxm)

Severity:
Medium

Description

DOMPurify 3.1.3 through 3.2.6 and 2.5.3 through 2.5.8 contain a cross-site scripting vulnerability that allows attackers to bypass attribute sanitization by exploiting missing textarea rawtext element validation in the SAFE_FOR_XML regex.

Recommendation

Update the dompurify package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
dompurify
Anything's wrong? Let us know Last updated on March 04, 2026