dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 0.8.6 to 0.9.0
4 releases in betweennotes for 3
Security
25 advisories still affect 0.9.0
- 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.9.0
Fixed and worked around newly discovered variations of the Safari 10.1 - 10.2 XSS
- 0.8.9
Fixed another aspect of the Safari XSS
Release by release
- Security
Fixed and worked around newly discovered variations of the Safari 10.1 - 10.2 XSS
- New
Added feature test to spot additionally broken versions if necessary
- New
Added a configuration flag to use persistent configuration
- Fixed
Fixed unsafe document generation for Safari 10.1 and 10.2
- Security
- Security
Fixed another aspect of the Safari XSS
- New
Added better checks for old Firefox mXSS
- Security
0.8.8no release note
- New
Added test for Firefox mXSS issue
- New
Added more browsers to the test array
- New
2 other lines we could not sort, mostly version bumps
- 0.8.7
Cleaned up after Safari emergency fix
- 0.8.7
General code and comment clean-up
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.