Releases: cure53/DOMPurify
Releases · cure53/DOMPurify
DOMPurify 2.3.0
- 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
- 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
- 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
- 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
- Added new mXSS prevention logic created by SecurityMB
DOMPurify 2.2.4
- 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
DOMPurify 2.2.3
- Fixed an mXSS issue reported by PewGrand
- Fixed a minor issue with the license header
- Fixed a problem with overly-eager CSS stripping
- Updated the README and removed an XSS warning
DOMPurify 2.2.2
- Fixed an mXSS bypass dropped on us publicly via #482
- Fixed an mXSS variation that was reported privately short after
- Added dialog to permitted elements list
- Fixed a small typo in the README
DOMPurify 2.2.0
- Fix a possible XSS in Chrome that is hidden behind #enable-experimental-web-platform-features, reported by @neilj and @mfreed7
- Changed
RETURN_DOM_IMPORT
default totrue
to address said possible XSS - Updated README to reflect the new change and inform about the risks of manually setting
RETURN_DOM_IMPORT
back tofalse
- Fixed the tests to properly address the new default
DOMPurify 2.1.1
- Removed some code targeting old Safari versions
- Removed some code targeting older MS Edge versions
- Re-added some code targeting older Chrome versions, thanks @terjanq
- Added new tests and removed unused SAFE_FOR_JQUERY test cases
- Added Node 14.x to existing test coverage