dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 3.4.4 to 3.4.5
1 release in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 0
- new
- 1
- fix
Security
14 advisories still affect 3.4.5
- 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
- DOMPurify: Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR`moderate · GHSA-76mc-f452-cxcm
Upgrading to 3.4.17 clears them.
Fixes 1 advisory affecting 3.4.4
- DOMPurify XSS via selectedcontent re-clonehigh · GHSA-87xg-pxx2-7hvx
Release by release
- Fixed
Fixed a bypass caused by the new HTML element
selectedcontentadded in 3.4.4, thanks @KabirAcharya
- Fixed
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.