Skip to content

Releases: cure53/DOMPurify

DOMPurify 2.3.4

07 Dec 14:31
fff1bd5
Compare
Choose a tag to compare
  • Added support for Custom Elements, thanks @franktopel
  • Added new config settings to control Custom Element sanitizing, thanks @franktopel
  • Added faster clobber checks, thanks @GrantGryczan
  • Allow-listed SVG feImage elements, thanks @ydaniv
  • Updated test suite
  • Update supported Node versions
  • Updated README

DOMPurify 2.3.3

20 Sep 12:29
7fbe07c
Compare
Choose a tag to compare
  • Fixed a bug in the handing of PARSER_MEDIA_TYPE spotted by @securitum-mb
  • Adjusted the tests for MSIE to make sure the results are as expected now

DOMPurify 2.3.2

15 Sep 15:23
6fb973e
Compare
Choose a tag to compare
  • Added new config option PARSER_MEDIA_TYPE, thanks @tosmolka

DOMPurify 2.3.1

13 Aug 14:48
6cfcdf5
Compare
Choose a tag to compare
  • Added code to make FORBID_CONTENTS setting configurable
  • Added role to URI-safe attributes
  • Added more paranoid handling for template elements

DOMPurify 2.3.0

06 Jul 10:28
e15ae1e
Compare
Choose a tag to compare
  • Added better handling of document creation on Firefox
  • Added better handling of version numbers in license file
  • Added two new browser versions to test suite config
  • Fixed a bug with handling of custom data attributes

DOMPurify 2.2.9

01 Jun 11:24
9de5b19
Compare
Choose a tag to compare
  • Fixed some minor issues related to the NAMESPACE config
  • Fixed some minor issues relating to empty input
  • Fixed some minor issues relating to handling of invalid XML

DOMPurify 2.2.8

28 Apr 08:06
1bf9e2a
Compare
Choose a tag to compare
  • Added NAMESPACE config option, thanks @NateScarlet
  • Added better fallback for older browsers & PhantomJS, thanks @albanx
  • Extended allow-list for SVG attributes a bit

DOMPurify 2.2.7

12 Mar 15:22
a9ad5be
Compare
Choose a tag to compare
  • Fixed handling of unsupported browsers, i.e. Safari 9 and older
  • Fixed various minor bugs and typos in README and examples
  • Added better handling of potentially harmful "is" attributes
  • Added better handling of lookupGetter functionality

DOMPurify 2.2.6

18 Dec 15:18
b11cb72
Compare
Choose a tag to compare
  • Added new mXSS prevention logic created by SecurityMB

DOMPurify 2.2.4

15 Dec 16:36
499b3bb
Compare
Choose a tag to compare
  • Fixed a new MathML-based bypass submitted by PewGrand
  • Fixed a new SVG-related bypass submitted by SecurityMB
  • Updated NodeJS CI to Node 14.x and Node 15.x
  • Cleaned up _forceRemove logic for better reliability