Packages

dompurify

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

Upgrading dompurify From 2.0.5 to 2.0.6

1 release in betweenevery note read

Other targets from 2.0.5Newest 2.x2.5.9Clears its 24 advisories3.4.17Latest3.5.0
  1. 2.0.5yours
  2. 2.0.6target
0
changes to make
0
advisories fixed
3
new
0
fixes

Security

24 advisories still affect 2.0.6

Upgrading to 3.4.17 clears them.

Release by release

  1. 2.0.6

    10 Oct 20193 new
    • New

      Added better test coverage

    • New

      Added better handling of situations where element removal causes mXSS

    • New

      Added better handling of content type switches causing mXSS

2 other lines we could not sort, mostly version bumps
  • Enhanced the checks for SVG-/MathML-based mXSS

    2.0.6
  • Removed several obtrusive checks and guards that are not needed any longer

    2.0.6

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.