Packages

dompurify

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

Your version

3.2.4

30 Jan 2025Where it was published

3.5.0 is the newest release of 3.x.

In short

3 new1 fixed2 changed

Security

Fixes 1 advisory that affected 3.2.3

22 advisories affect 3.2.4; 3.4.17 fixes them

17 more

Release note

  • Fixed a conditional and config dependent mXSS-style bypass reported

  • Added a new feature to allow specific hook removal, thanks @davecardwell

  • Added purify.js and purify.min.js to exports, thanks @Aetherinox

  • Added better logic in case no window object is president, thanks @yehuya

  • Updated some dependencies called out by dependabot

  • Updated license files etc to show the correct year

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.