build(deps): bump dompurify from 3.3.3 to 3.4.5
Created by: dependabot[bot]
Bumps dompurify from 3.3.3 to 3.4.5.
Release notes
Sourced from dompurify's releases.
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.
DOMPurify 3.4.4
- Added the
selectedcontentelement to default allow-list, thanks@lukewarlow- Added the
commandandcommandforattributes to default allowed-list, thanks@lukewarlow- Added better template scrubbing for
IN_PLACEoperations, thanks@DEMON1A- Added stronger checks for cross-realm windows, thanks
@DEMON1A&@fg0x0- Updated demo website and made sure it uses the latest from main
- Updated existing workflows, fuzzer, dependabot, etc., added more tests
- Bumped several dependencies where possible
🚨 This release had been flagged as deprecated, please use DOMPurify 3.4.5 instead🚨 DOMPurify 3.4.3
- Fixed an issue with handling of nested Shadow DOM trees, thanks
@fishjojo1- Fixed the template regexes to be more robust against ReDoS attacks, thanks
@aleung27- Updated the node iteration code to catch more Shadow DOM related issues
- Updated Playwright and added Node 26 to test matrix
- Updated existing workflows, fuzzer, release signing, etc., added more tests
- Bumped several dependencies where possible
DOMPurify 3.4.2
- Fixed an issue with URI validation on attributes allowed via
ADD_ATTRcallback, thanks@nelstrom- Fixed an issue with source maps referring to non-existing files, thanks
@cmdcolin- Updated existing workflows, fuzzer, release signing, etc., added more tests
- Bumped several dependencies where possible
DOMPurify 3.4.1
- Fixed an issue with on-handler stripping for HTML-spec-reserved custom element names (
font-face,color-profile,missing-glyph,font-face-src,font-face-uri,font-face-format,font-face-name) under permissiveCUSTOM_ELEMENT_HANDLING- Fixed a case-sensitivity gap in the
annotation-xmlcheck that allowed mixed-case variants to bypass the basic-custom-element exclusion in XHTML mode- Fixed
SANITIZE_NAMED_PROPSrepeatedly prefixing already-prefixedidandnamevalues on subsequent sanitization- Fixed the
IN_PLACEroot-node check to explicitly guard against non-stringnodeName(DOM-clobbering robustness)- Removed a duplicate
slotentry from the default HTML attribute allow-list- Strengthened the fast-check fuzz harness with explicit XSS invariants, an expanded seed-payload corpus, an additional idempotence property for
SANITIZE_NAMED_PROPS, and a negative-control assertion ensuring the invariants actually fire- Added regression and pinning tests covering the above fixes and two accepted-behavior contracts (
SAFE_FOR_TEMPLATESgreedy scrub, hook-added attribute handling)- Extended CodeQL analysis to run on
3.xand2.xmaintenance branchesDOMPurify 3.4.0
Most relevant changes:
- Fixed a problem with
FORBID_TAGSnot winning overADD_TAGS, thanks@kodareef5- Fixed several minor problems and typos regarding MathML attributes, thanks
@DavidOliver- Fixed
ADD_ATTR/ADD_TAGSfunction leaking into subsequent array-based calls, thanks@1Jesper1- Fixed a missing
SAFE_FOR_TEMPLATESscrub inRETURN_DOMpath, thanks@bencalif- Fixed a prototype pollution via
CUSTOM_ELEMENT_HANDLING, thanks@trace37labs- Fixed an issue with
ADD_TAGSfunction form bypassingFORBID_TAGS, thanks@eddieran- Fixed an issue with
ADD_ATTRpredicates skipping URI validation, thanks@christos-eth
... (truncated)
Commits
-
011b0c7release: 3.4.5 (#1382) -
5817ad9release: 3.4.4 (#1374) -
520edb0release: 3.4.3 (#1352) -
6f67fd3Sync/3.4.2 (#1322) -
5b0cdbbchore: merge main into 3.x for 3.4.1 release (#1301) -
09f5911test: added three more browsers to test setup (OSX, mobile) -
5b16e0bGetting 3.x branch ready for 3.4.0 release (#1250) - See full diff in compare view
Install script changes
This version adds prepare script that runs during installation. Review the package contents before updating.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.