Packages

dompurify

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

Your version

2.1.0

23 Sep 2020Where it was published

2.5.9 is the newest release of 2.x.

In short

1 removed1 new1 fixed5 changed

  • Removed

    Removed the SAFE_FOR_JQUERY flag (we are safe by default now for jQuery)

Security

22 advisories affect 2.1.0; 3.4.17 fixes them

17 more

Release note

  • Fixed several possible mXSS patterns, thanks @hackvertor

  • Removed

    Removed the SAFE_FOR_JQUERY flag (we are safe by default now for jQuery)

  • Removed several now useless mXSS checks

  • Updated the mXSS check for elements

  • Updated test cases to cover new sanitization strategy

  • Updated test website to use newer jQuery

  • Updated array of tested browsers and removed legacy browsers

  • Added "auto convert" checkbox to test website, thanks @hackvertor

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.