dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 3.4.15 to 3.4.16
1 release in betweenevery note read
- 0
- changes to make
- 2
- advisories fixed
- 0
- new
- 3
- fixes
Security
3 advisories still affect 3.4.16
- 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
- DOMPurify IN_PLACE: hook that removes a parent or sibling leaves the detached subtree's event handlers armed (incomplete fix for GHSA-p98j-92pf-mc4p)low · GHSA-mrv2-3pqr-j5jr
Upgrading to 3.4.17 clears them.
Fixes 2 advisories affecting 3.4.15
Release by release
- Fixed
Fixed a problem with
IN_PLACEnode removal when working with hooks, thanks @manus-pi - Fixed
Fixed a problem with
IN_PLACEsanitization and raw-text roots, thanks @h-t-m - Fixed
Fixed a problem with ESM default exports landing in CommonJS declarations, thanks @ssi02014
- Fixed
2 other lines we could not sort, mostly version bumps
- 3.4.16
Migrated from
rolluptorolldownbecause performance, thanks @ssi02014 - 3.4.16
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.