dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 3.3.1 to 3.3.2
1 release in betweenevery note read
- 0
- changes to make
- 4
- advisories fixed
- 0
- new
- 3
- fixes
Security
17 advisories still affect 3.3.2
- 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
- DOMPurify: IN_PLACE returns a force-removed rawtext root whose text carries attacker markup — pure HTML reparse executeslow · GHSA-6688-9rhm-gjv2
Upgrading to 3.4.17 clears them.
Fixes 4 advisories affecting 3.3.1
- DOMPurify USE_PROFILES prototype pollution allows event handlersmoderate · GHSA-cj63-jhhr-wcxv
- DOMPurify ADD_ATTR predicate skips URI validationmoderate · GHSA-cjmm-f4jc-qw8r
- DOMPurify is vulnerable to mutation-XSS via Re-Contextualization moderate · GHSA-h8r8-wccr-v5f2
- DOMPurify contains a Cross-site Scripting vulnerabilitymoderate · GHSA-v2wj-7wpq-c8vv
- 3.3.2
Fixed a prototype pollution issue when working with custom elements, thanks @christos-eth
Release by release
- Security
Fixed a prototype pollution issue when working with custom elements, thanks @christos-eth
- Fixed
Fixed a possible bypass caused by jsdom's faulty raw-text tag parsing, thanks multiple reporters
- Fixed
Fixed a lenient config parsing in
_isValidAttribute, thanks @christos-eth - Fixed
Fixed the test suite after bumping dependencies, thanks @Rotzbua
- Security
1 other line we could not sort, mostly version bumps
- 3.3.2
Bumped and removed several dependencies, thanks @Rotzbua
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.