dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 3.4.12 to 3.4.13
1 release in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 0
- new
- 3
- fixes
Security
5 advisories still affect 3.4.13
- DOMPurify: IN_PLACE returns a force-removed rawtext root whose text carries attacker markup — pure HTML reparse executeslow · GHSA-6688-9rhm-gjv2
- DOMPurify: SMIL attributeName=href guard is skipped when PARSER_MEDIA_TYPE is application/xhtml+xmllow · GHSA-c6gr-qvv4-5v3f
- DOMPurify SAFE_FOR_TEMPLATES bypass: split template expressions survive in attached shadow root content on DOM output modeslow · GHSA-cg2g-xh64-v4q7
Upgrading to 3.4.17 clears them.
Fixes 1 advisory affecting 3.4.12
- DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSSmoderate · GHSA-55q2-fjhq-7xh7
Release by release
- Fixed
Fixed an issue with hook removal during
IN_PLACEsanitization, thanks @koyokr - Fixed
Fixed an issue with hooks potentially bypassing the clone guard, thanks @AkshayjainG
- Fixed
Fixed an issue with DOM clobbering via
ownerDocumentduringIN_PLACE, thanks @AkshayjainG
- Fixed
1 other line we could not sort, mostly version bumps
- 3.4.13
Bumped several dependencies where possible
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.