Packages

dompurify

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

Your version

3.3.0

13 Oct 2025Where it was published

3.5.0 is the newest release of 3.x.

In short

2 new1 fixed

Security

21 advisories affect 3.3.0; 3.4.17 fixes them

16 more

Release note

  • Added the SVG mask-type attribute to default allow-list, thanks @prasadrajandran

  • Added support for ADD_ATTR and ADD_TAGS to accept functions, thanks @nelstrom

  • Fixed an issue with the slot element being in both SVG and HTML allow-list, thanks @Wim-Valgaeren

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.