dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 3.1.2 to 3.1.3
1 release in betweenevery note read
- 0
- changes to make
- 2
- advisories fixed
- 2
- new
- 2
- fixes
Security
23 advisories still affect 3.1.3
- 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 2 advisories affecting 3.1.2
- DOMpurify has a nesting-based mXSShigh · GHSA-gx9m-whjm-85jf
- DOMPurify allows tampering by prototype pollutionhigh · GHSA-mmhx-hmjr-r674
- 3.1.3
Added better hardening against Prototype Pollution attacks, thanks @kevin-mizu
Release by release
- Security
Added better hardening against Prototype Pollution attacks, thanks @kevin-mizu
- New
Added better configurability for comment scrubbing default behavior
- New
Added better handling and readability of the
nodeTypeproperty, thanks @ssi02014 - Fixed
Fixed several mXSS variations found by and thanks to @kevin-mizu & @Ry0taK
- Fixed
Fixed some smaller issues in README and other documentation
- 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.