Sourced from dompurify's releases.
DOMPurify 2.5.4
- Fixed a bug with latest
isNaN
checks affecting MSIE, thanks@tulach
- Fixed the tests for MSIE and fixed related test-runner
DOMPurify 2.5.3
- Fixed several mXSS variations found by and thanks to
@kevin-mizu
&@Ry0taK
- Added better configurability for comment scrubbing default behavior
- Added better hardening against Prototype Pollution attacks, thanks
@kevin-mizu
- Fixed some smaller issues in README and other documentation
DOMPurify 2.5.2
- Addressed and fixed a mXSS variation found by
@kevin-mizu
- Addressed and fixed a mXSS variation found by Adam Kues of Assetnote
- Updated tests for older Safari and Chrome versions
DOMPurify 2.5.1
- Fixed an mXSS sanitizer bypass reported by
@icesfont
- Added new code to track element nesting depth
- Added new code to enforce a maximum nesting depth of 255
- Added coverage tests and necessary clobbering protections
Note that this is a security release and should be upgraded to immediately. Please also note that further releases may follow as the underlying vulnerability is apparently new and further variations may be discovered.
DOMPurify 2.5.0
- Added new setting
SAFE_FOR_XML
to enable better control over comment scrubbing- Updated the LICENSE file to show the accurate year number
- Updated several build and test dependencies
DOMPurify 2.4.9
- Fixed another conditional bypass caused by Processing Instructions, thanks
@Ry0taK
- Fixed the regex for HTML Custom Element detection, thanks
@AlekseySolovey3T
DOMPurify 2.4.8
- Fixed two possible bypasses when sanitizing an XML document and later using it in HTML, thanks
@Slonser
DOMPurify 2.4.7
- Fixed a licensing issue spotted and reported by
@george-thomas-hill
DOMPurify 2.4.6
- Fixed a bypass in jsdom 22 in case the
noframes
element is permitted, thanks@leeN
DOMPurify 2.4.5
- Fixed a problem with improper reset of custom HTML options, thanks
@ammaraskar
DOMPurify 2.4.4
- Added support for
ALLOW_SELF_CLOSE_IN_ATTR
flag, thanks@edg2s
@AndreVirtimo
- Added better support for
shadowrootmode
, thanks@mfreed7
DOMPurify 2.4.3
- Final release that is compatible with MSIE10 & MSIE 11
... (truncated)
10c1261
docs: Updated README ever so slightly1c92880
test: Fixed two more tests for MSIE11 and Edge 181401208
test: Fixed more tests for MSIE and Edge 182c6410a
test: Fixed several new tests for MSIE11 and Edge 182c9bca9
test: Changed github config to include MSIE tests for 2.xb188787
chore: Preparing 2.5.4 release707b3d6
fix: Added a better for for the MSIE iNaN issue62fe3be
test: Attempting to get MSIE 11 back into the browser test arrayf3a9710
fix: Fixed an issue with MSIE and no support for Number.isNaNe1ddfc7
Merge branch '2.x' of github.com:cure53/DOMPurify into 2.x