dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 3.2.5 to 3.2.6
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 3
- new
- 0
- fixes
Security
22 advisories still affect 3.2.6
- 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.
- 3.2.6
Added better config hardening against prototype pollution, thanks @EffectRenan
- 3.2.6
Removed the script that caused the fake entry CVE-2025-48050
Release by release
- Security
Added better config hardening against prototype pollution, thanks @EffectRenan
- Security
Removed the script that caused the fake entry CVE-2025-48050
- New
Added
matrix:as an allowed URI scheme, thanks @kleinesfilmroellchen - New
Added better handling of attribute removal, thanks @michalnieruchalski-tiugo
- New
Added better configuration for aggressive mXSS scrubbing behavior, thanks @BryanValverdeU
- Security
1 internal line (docs, tests, tooling) left out.
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.