dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 3.4.14 to 3.4.15
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 2
- new
- 0
- fixes
Security
5 advisories still affect 3.4.15
- 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.
Release by release
- New
Added better clobbering hardening when XML content is involved, thanks @gnyselcuk
- New
Added several smaller hardening and edge-case improvements, thanks @leechristensen
- New
1 other line we could not sort, mostly version bumps
- 3.4.15
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.