Sourced from dompurify's releases.
DOMPurify 3.4.12
- Fixed an issue where a hook would not get called for custom elements, thanks
@Rikuxx0- Hardened the handling of hooks removing elements,
@mkrause-bee360- Added support for a few new SVG attributes, thanks
@cbn-falias&@Develop-KIM- Hardened the handling of declarative partial updates
- Updated the documentation is several spots, README, wiki, etc.
- Bumped several dependencies where possible
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