Packages

dompurify

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

Upgrading dompurify From 2.4.2 to 2.5.9

17 releases in betweenevery note read

Other targets from 2.4.2Clears its 21 advisories3.4.17Latest3.5.0
  1. 2.4.2yours
  2. 8 releases
  3. 2.5.1security
  4. 1 release
  5. 2.5.3security
  6. 5 releases
  7. 2.5.9target

Security

Fixes 2 advisories affecting 2.4.2

  • 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

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

9 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

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.