Packages

dompurify

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

Your version

2.0.4

7 Oct 2019Where it was published

2.5.9 is the newest release of 2.x.

Security

24 advisories affect 2.0.4; 3.4.17 fixes them

19 more

Release note

Another mXSS variation was spotted

The fixes were reviewed and no new bypasses could be spotted at the moment.
Thanks, @masatokinugawa :bowing_man: :bowing_woman:!

The sanitization logic for this kind of mXSS was changed to be less aggressive and still be able to spot all recent mXSS variations we know about right now - while also avoiding risky string matching.

Prayers and thoughts that this was the final variation. But better be on the lookout for more releases soon.

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.