Skip to content

Releases: cure53/DOMPurify

DOMPurify 2.3.5

26 Jan 14:05
8eab0ac
Compare
Choose a tag to compare
  • Performed several chores and cleanups, thanks @is2ei
  • Fixed a bug when working with Trusted Types, thanks @tosmolka
  • Fixed a bug with weird behavior on insecure nodes in IN_PLACE mode, thanks @tosmolka
  • Added more SVG attributes to allow-list, thanks @rzhade3

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