dompurify
3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed
Upgrading dompurify From 3.4.2 to 3.4.3
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
13 advisories still affect 3.4.3
- 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.
- 3.4.3
Fixed the template regexes to be more robust against ReDoS attacks, thanks @aleung27
Release by release
- Security
Fixed the template regexes to be more robust against ReDoS attacks, thanks @aleung27
- Fixed
Fixed an issue with handling of nested Shadow DOM trees, thanks @fishjojo1
- Security
4 other lines we could not sort, mostly version bumps
- 3.4.3
Updated the node iteration code to catch more Shadow DOM related issues
- 3.4.3
Updated Playwright and added Node 26 to test matrix
- 3.4.3
Updated existing workflows, fuzzer, release signing, etc., added more tests
- 3.4.3
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.