dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 0.8.0 to 0.8.1
1 release in betweenevery note read
Security
25 advisories still affect 0.8.1
- DOMPurify's ADD_TAGS function form bypasses FORBID_TAGS due to short-circuit evaluationmoderate · GHSA-39q2-94rc-95cp
- DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSSmoderate · GHSA-55q2-fjhq-7xh7
- Cross-site Scripting in dompurifymoderate · GHSA-63q7-h895-m982
Upgrading to 3.4.17 clears them.
- 0.8.1
Added more tests to cover the security fix
Release by release
- Security
Added more tests to cover the security fix
- New
Added more browsers to BrowserStack test-array
- Fixed
Fixed a security bug when
ALLOW_UNKNOWN_PROTOCOLSistrue(not the default) reported and addressed - Fixed
Fixed some minor issue with DOM element removal log
- Security
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.