Packages

dompurify

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

Your version

3.1.7

26 Sep 2024Where it was published

3.5.0 is the newest release of 3.x.

In short

2 new1 fixed2 changed1 internal

Security

23 advisories affect 3.1.7; 3.4.17 fixes them

18 more

Release note

  • Fixed an issue with comment detection and possible bypasses with specific config settings, thanks @masatokinugawa

  • Added better support for Angular compiler, thanks @jeroen1602

  • Added several new attributes to HTML and SVG allow-list, thanks @Gigabyte5671 and @Rotzbua

  • Removed the foreignObject element from the list of HTML entry-points, thanks @masatokinugawa

  • Bumped several dependencies to be more up to date

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.