Packages

dompurify

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

Upgrading dompurify From 2.2.3 to 2.5.9

39 releases in betweennotes for 37

Other targets from 2.2.3Clears its 22 advisories3.4.17Latest3.5.0
  1. 2.2.3yours
  2. 21 releases
  3. 2.4.2security
  4. 8 releases
  5. 2.5.1security
  6. 1 release
  7. 2.5.3security
  8. 5 releases
  9. 2.5.9target
?
changes to make
3
advisories fixed
30+
new
32+
fixes

Counted from 37 of 39 release notes. Advisories are counted from the advisory database, in full.

Security

Fixes 3 advisories affecting 2.2.3

  • Added better hardening against Prototype Pollution attacks, thanks @kevin-mizu

    2.5.3
  • Please also note that further releases may follow as the underlying vulnerability is apparently new and further variations may be discovered.**

    2.5.1
  • Fixed a Prototype Pollution issue discovered and reported

    2.4.2

Release by release

  1. 2.5.9

    5 Mar 20261 fix
    • Fixed

      Fixed a possible bypass caused by jsdom's faulty raw-text tag parsing

  2. 2.5.8

    9 Dec 20241 fix
    • Fixed

      Fixed two conditional sanitizer bypasses discovered

  3. 2.5.7

    26 Sep 20241 fix
    • Fixed

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

  4. 2.5.6

    5 Jul 20242 fixes
    • Fixed

      Fixed an issue with the execution logic of attribute hooks to prevent bypasses, thanks @kevin-mizu

    • Fixed

      Fixed a minor problem with the bower file pointing to the wrong dist path

  5. 2.5.5

    31 May 20242 fixes
    • Fixed

      Fixed a minor issue with the dist paths in bower.js, thanks @HakumenNC

    • Fixed

      Fixed a minor issue with sanitizing HTML coming from copy&paste Word content, thanks @kakao-bishop-cho

  6. 2.5.4

    20 May 20242 fixes
    • Fixed

      Fixed a bug with latest isNaN checks affecting MSIE, thanks @tulach

    • Fixed

      Fixed the tests for MSIE and fixed related test-runner

  7. 2.5.3

    Security fix11 May 20241 new · 2 fixes
    • Security

      Added better hardening against Prototype Pollution attacks, thanks @kevin-mizu

    • New

      Added better configurability for comment scrubbing default behavior

    • Fixed

      Fixed several mXSS variations found by and thanks to @kevin-mizu & @Ry0taK

    • Fixed

      Fixed some smaller issues in README and other documentation

  8. 2.5.2nothing new or fixed in the note

29 other lines we could not sort, mostly version bumps
  • Updated the attribute clobbering checks to prevent future bypasses, thanks @parrot409

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

    2.5.7
  • Updated several development dependencies

    2.5.6
  • Addressed and fixed a mXSS variation found

    2.5.2
  • Addressed and fixed a mXSS variation found by Adam Kues of Assetnote

    2.5.2
  • Updated tests for older Safari and Chrome versions

    2.5.2
  • Updated the LICENSE file to show the accurate year number

    2.5.0
  • Updated several build and test dependencies

    2.5.0
  • Final release that is compatible with MSIE10 & MSIE 11

    2.4.3
  • Bumped some dependencies, thanks @marcpenya-tf

    2.4.1

2 internal lines (docs, tests, tooling) left out.

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.