Packages

dompurify

3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed

Your version

3.4.3

13 May 2026Where it was published

3.5.0 is the newest release of 3.x.

In short

1 security1 fixed4 changed

  • Security

    Fixed the template regexes to be more robust against ReDoS attacks, thanks @aleung27

Security

13 advisories affect 3.4.3; 3.4.17 fixes them

8 more

Release note

  • Fixed an issue with handling of nested Shadow DOM trees, thanks @fishjojo1

  • Security

    Fixed the template regexes to be more robust against ReDoS attacks, thanks @aleung27

  • Updated the node iteration code to catch more Shadow DOM related issues

  • Updated Playwright and added Node 26 to test matrix

  • Updated existing workflows, fuzzer, release signing, etc., added more tests

  • 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.