Packages

dompurify

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

Your version

2.0.8

3 Feb 2020Where it was published

2.5.9 is the newest release of 2.x.

In short

4 new1 fixed

Security

23 advisories affect 2.0.8; 3.4.17 fixes them

18 more

Release note

  • Fixed a bypass that can be abused in case SAFE_FOR_JQUERY is used with jQuery 3.x, thanks @masatokinugawa :bowing_woman:

  • Added new elements to whitelist, thanks @chris-morgan

  • Added first layer of prototype poisoning protection, thanks @dejang

  • Added better controls for uponSanitizeAttribute, thanks @devinrhode2

  • Added demo for node removal, thanks @mikesnare

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.