dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 3.4.10 to 3.4.11
1 release in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 0
- new
- 1
- fix
Security
6 advisories still affect 3.4.11
- 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: `CUSTOM_ELEMENT_HANDLING` bypasses `afterSanitizeElements` for allowed custom elements.low · GHSA-c2j3-45gr-mqc4
Upgrading to 3.4.17 clears them.
Fixes 1 advisory affecting 3.4.10
Release by release
- Fixed
Fixed an issue with a leaky config for hooks via
setConfig, thanks @trace37labs
- Fixed
5 other lines we could not sort, mostly version bumps
- 3.4.11
Bumped vulnerable development dependencies to arrive at plain 0 with
npm audit - 3.4.11
Updated the
osv-scannersuppression list as no vulnerable dependencies are left for now - 3.4.11
Updated up the linting tool-chain and removed now-redundant lint directives
- 3.4.11
Updated the documentation is several spots, README, wiki, etc.
- 3.4.11
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.