Sourced from dompurify's releases.
DOMPurify 3.4.11
- Fixed an issue with a leaky config for hooks via
setConfig, thanks@trace37labs- Bumped vulnerable development dependencies to arrive at plain 0 with
npm audit- Updated the
osv-scannersuppression list as no vulnerable dependencies are left for now- Updated up the linting tool-chain and removed now-redundant lint directives
- Updated the documentation is several spots, README, wiki, etc.
- Bumped several dependencies where possible
DOMPurify 3.4.10
- Refactored codebase for clarity: extracted the public type declarations into
types.ts- Decomposed the three largest sanitizer functions into focused helpers
- Removed duplicated defaults and dead branches, consolidated
SAFE_FOR_TEMPLATESscrubbing into single shared path- Improved per-node performance by hoisting the mXSS probe regexes and testing
textContentbeforeinnerHTML- Added a deterministic micro-benchmark harness (
npm run bench) with a--comparemode- Reduced CI cost by running the full three-engine browser suite once per PR
- Refreshed the
demos/folder so every demo runs again, and added a SVG-via-<img>demo- Documented the bench and
test:happydomscripts in the README- Completed the Attack Classes & Bypass History wiki page
- Bumped several dependencies where possible
DOMPurify 3.4.9
- Further improved the handling of Trusted Types config options, thanks
@offset- Further improved the handling of
IN_PLACEsanitization, thanks@mozfreddyb- Added more test coverage for
IN_PLACEand Trusted Types related usage- Bumped several dependencies where possible
- Updated README and wiki with more accurate documentation & attack samples
DOMPurify 3.4.8
- Cleaned up the repository root, renamed some and removed unneeded files
- Fixed an issue with handling of Trusted Types policies, thanks
@fulstadev- Fixed the node iterator for better template scrubbing, thanks
@IamLeandrooooo- Included formerly missing LICENSE-MPL in published npm package, thanks
@asamuzaK- Bumped several dependencies where possible
DOMPurify 3.4.7
- Hardened the handling of Shadow Roots when using
IN_PLACE, thanks@GameZoneHacker- Removed a problem leading to permanent hook pollution, thanks
@offset- Refactored the test suite and expanded test coverage significantly
DOMPurify 3.4.6
- Fixed several issues with DOM Clobbering in
IN_PLACEmode, thanks@offset&@Bankde- Hardened the checks for cross-realm
IN_PLACEand Shadow DOM sanitization, thanks@offset&@Bankde- Added more test coverage for
IN_PLACEand general DOM Clobbering attacks- Bumped several dependencies where possible
DOMPurify 3.4.5
- Fixed a bypass caused by the new HTML element
selectedcontentadded in 3.4.4, thanks@KabirAcharyaNote that this is a security release for an issue introduced in 3.4.4 and should be upgraded to immediately.
... (truncated)
0cae518
release: 3.4.11 (#1494)6ee5716
release: 3.4.10 (#1478)5210247
release: 3.4.9 (#1459)bcdd828
release: 3.4.8 (#1439)ca30f07
release: 3.4.7 (#1414)bb7739e
release: 3.4.6 (#1394)011b0c7
release: 3.4.5 (#1382)5817ad9
release: 3.4.4 (#1374)520edb0
release: 3.4.3 (#1352)6f67fd3
Sync/3.4.2 (#1322)This version adds prepare script that runs during
installation. Review the package contents before updating.