Packages

dompurify

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

Your version

2.0.16

18 Sep 2020Where it was published

2.5.9 is the newest release of 2.x.

In short

2 fixed

Security

23 advisories affect 2.0.16; 3.4.17 fixes them

18 more

Release note

  • Fixed an mXSS-based bypass caused by nested forms inside MathML

  • Fixed a security error thrown on older Chrome on Android versions, see #470

Credits for the bypass go to Michał Bentkowski (@securityMB) of Securitum who spotted the bug in Chrome, turned it into another DOMPurify bypass, reported and helped verifying the fix :bowing_man: :bowing_woman:

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.