dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 1.0.4 to 1.0.5
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 2
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.0.5
Security
25 advisories still affect 1.0.5
- 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.
Release by release
- Breaking
Removed Safari 10.1/11.1 TP specific security workarounds
- New
Added better test coverage for latest browsers
- New
Added better test coverage for latest NodeJS
- Fixed
Fixed a loop when ALLOW_TAGS-collides with WHOLE_DOCUMENT
- Fixed
Fixed a CDATA encoding bug with SAFE_FOR_JQUERY
- Breaking
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.