Sourced from dompurify's releases.
DOMPurify 3.3.2
- Fixed a possible bypass caused by jsdom's faulty raw-text tag parsing, thanks multiple reporters
- Fixed a prototype pollution issue when working with custom elements, thanks
@christos-eth- Fixed a lenient config parsing in
_isValidAttribute, thanks@christos-eth- Bumped and removed several dependencies, thanks
@Rotzbua- Fixed the test suite after bumping dependencies, thanks
@RotzbuaDOMPurify 3.3.1
- Updated
ADD_FORBID_CONTENTSsetting to extend default list, thanks@MariusRumpf- Updated the ESM import syntax to be more correct, thanks
@binhpvDOMPurify 3.3.0
- Added the SVG
mask-typeattribute to default allow-list, thanks@prasadrajandran- Added support for
ADD_ATTRandADD_TAGSto accept functions, thanks@nelstrom- Fixed an issue with the
slotelement being in both SVG and HTML allow-list, thanks@Wim-ValgaerenDOMPurify 3.2.7
- Added new attributes and elements to default allow-list, thanks
@elrion018- Added
tagNameparameter to custom elementattributeNameCheck, thanks@nelstrom- Added better check for animated
hrefattributes, thanks@llamakko- Updated and improved the bundled types, thanks
@ssi02014- Updated several tests to better align with new browser encoding behaviors
- Improved the handling of potentially risky content inside CDATA elements, thanks
@securityMB&@terjanq- Improved the regular expression for raw-text elements to cover textareas, thanks
@securityMB&@terjanqDOMPurify 3.2.6
- Fixed several typos and removed clutter from our documentation, thanks
@Rotzbua- Added
matrix:as an allowed URI scheme, thanks@kleinesfilmroellchen- Added better config hardening against prototype pollution, thanks
@EffectRenan- Added better handling of attribute removal, thanks
@michalnieruchalski-tiugo- Added better configuration for aggressive mXSS scrubbing behavior, thanks
@BryanValverdeU- Removed the script that caused the fake entry CVE-2025-48050
DOMPurify 3.2.5
- Added a check to the mXSS detection regex to be more strict, thanks
@masatokinugawa- Added ESM type imports in source, removes patch function, thanks
@donmccurdy- Added script to verify various TypeScript configurations, thanks
@reduckted- Added more modern browsers to the Karma launchers list
- Added Node 23.x to tested runtimes, removed Node 17.x
- Fixed the generation of source maps, thanks
@reduckted- Fixed an unexpected behavior with
ALLOWED_URI_REGEXPusing the 'g' flag, thanks@hhk-png- Fixed a few typos in the README file
5e56114
Getting 3.x branch ready for 3.3.2 release (#1208)e8c95f4
fix: Fixed the broken package-lock.json9636037
Update package-lock.json5cad4ce
Getting 3.x branch ready for 3.3.2 releas (#1205)6fc446a
Merge pull request #1175
from cure53/main3b3bf91
Merge branch 'main' of github.com:cure53/DOMPurify9863f41
chore: Preparing 3.3.1 releaseb4e0295
chore: Preparing 3.3.0 release077746b
build(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 (#1170)4de68bb
build(deps): bump actions/checkout from 5 to 6 (#1171)