Packages

dompurify

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

Your version

3.1.1

26 Apr 2024Where it was published

3.5.0 is the newest release of 3.x.

In short

1 security3 new1 fixed

  • Security

    Please also note that further releases may follow as the underlying vulnerability is apparently new and further variations may be discovered.**

Security

23 advisories affect 3.1.1; 3.4.17 fixes them

18 more

Release note

  • Fixed an mXSS sanitiser bypass reported

  • Added new code to track element nesting depth

  • Added new code to enforce a maximum nesting depth of 255

  • Added coverage tests and necessary clobbering protections

Note that this is a security release and should be upgraded to immediately. Please also note that further releases may follow as the underlying vulnerability is apparently new and further variations may be discovered.

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.