Skip to content

Releases: cure53/DOMPurify

DOMPurify 3.1.2

Choose a tag to compare

@cure53 cure53 released this 30 Apr 08:28
5b2e317
  • 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.2

Choose a tag to compare

@cure53 cure53 released this 30 Apr 08:26
d299fcc
  • 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 3.1.1

Choose a tag to compare

@cure53 cure53 released this 26 Apr 11:14
7a0a984
  • Fixed an mXSS sanitiser 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.1

Choose a tag to compare

@cure53 cure53 released this 26 Apr 11:11
f275c0b
  • 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 3.1.0

Choose a tag to compare

@cure53 cure53 released this 07 Apr 14:10
db19269
  • Added new setting SAFE_FOR_XML to enable better control over comment scrubbing
  • Updated README to warn about happy-dom not being safe for use with DOMPurify yet
  • Updated the LICENSE file to show the accurate year number
  • Updated several build and test dependencies

DOMPurify 2.5.0

Choose a tag to compare

@cure53 cure53 released this 07 Apr 14:08
7f6cf8a
  • 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 3.0.11

Choose a tag to compare

@cure53 cure53 released this 21 Mar 11:21
a9fd4ae
  • Fixed another conditional bypass caused by Processing Instructions, thanks @Ry0taK
  • Fixed the regex for HTML Custom Element detection, thanks @AlekseySolovey3T

DOMPurify 2.4.9

Choose a tag to compare

@cure53 cure53 released this 21 Mar 10:20
79cfb37
  • Fixed another conditional bypass caused by Processing Instructions, thanks @Ry0taK
  • Fixed the regex for HTML Custom Element detection, thanks @AlekseySolovey3T

DOMPurify 3.0.10

Choose a tag to compare

@cure53 cure53 released this 19 Mar 11:07
f2b637f
  • Fixed two possible bypasses when sanitizing an XML document and later using it in HTML, thanks @Slonser
  • Bumped up some build and test dependencies

DOMPurify 2.4.8

Choose a tag to compare

@cure53 cure53 released this 19 Mar 11:05
416ba67
  • Fixed two possible bypasses when sanitizing an XML document and later using it in HTML, thanks @Slonser