[Snyk] Upgrade dompurify from 3.4.0 to 3.4.1#3312
Merged
Merged
Conversation
Snyk has created this PR to upgrade dompurify from 3.4.0 to 3.4.1. See this package in npm: dompurify See this project in Snyk: https://app.snyk.io/org/docs-wmk/project/69782e43-c85b-4c27-afd1-ad863be7a38a?utm_source=github&utm_medium=referral&page=upgrade-pr
Member
Author
|
This is a patch version upgrade that includes several bug fixes and security hardenings. According to the release notes, the changes address edge cases and do not introduce any breaking API changes. No developer action is required for this upgrade. Fixes include:
Source: GitHub Releases
|
reakaleek
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade dompurify from 3.4.0 to 3.4.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released 22 days ago.
Breaking Change Risk
Release notes
Package name: dompurify
-
3.4.1 - 2026-04-21
- Fixed an issue with on-handler stripping for HTML-spec-reserved custom element names (
- Fixed a case-sensitivity gap in the
- Fixed
- Fixed the
- Removed a duplicate
- Strengthened the fast-check fuzz harness with explicit XSS invariants, an expanded seed-payload corpus, an additional idempotence property for
- Added regression and pinning tests covering the above fixes and two accepted-behavior contracts (
- Extended CodeQL analysis to run on
-
3.4.0 - 2026-04-14
- Fixed a problem with
- Fixed several minor problems and typos regarding MathML attributes, thanks @ DavidOliver
- Fixed
- Fixed a missing
- Fixed a prototype pollution via
- Fixed an issue with
- Fixed an issue with
- Fixed an issue with
- Fixed an issue leading to possible mXSS via Re-Contextualization, thanks @ researchatfluidattacks and others
- Fixed an issue with closing tags leading to possible mXSS, thanks @ frevadiscor
- Fixed a problem with the type dentition patcher after Node version bump
- Fixed freezing BS runs by reducing the tested browsers array
- Bumped several dependencies where possible
- Added needed files for OpenSSF scorecard checks
from dompurify GitHub release notesfont-face,color-profile,missing-glyph,font-face-src,font-face-uri,font-face-format,font-face-name) under permissiveCUSTOM_ELEMENT_HANDLINGannotation-xmlcheck that allowed mixed-case variants to bypass the basic-custom-element exclusion in XHTML modeSANITIZE_NAMED_PROPSrepeatedly prefixing already-prefixedidandnamevalues on subsequent sanitizationIN_PLACEroot-node check to explicitly guard against non-stringnodeName(DOM-clobbering robustness)slotentry from the default HTML attribute allow-listSANITIZE_NAMED_PROPS, and a negative-control assertion ensuring the invariants actually fireSAFE_FOR_TEMPLATESgreedy scrub, hook-added attribute handling)3.xand2.xmaintenance branchesMost relevant changes:
FORBID_TAGSnot winning overADD_TAGS, thanks @ kodareef5ADD_ATTR/ADD_TAGSfunction leaking into subsequent array-based calls, thanks @ 1Jesper1SAFE_FOR_TEMPLATESscrub inRETURN_DOMpath, thanks @ bencalifCUSTOM_ELEMENT_HANDLING, thanks @ trace37labsADD_TAGSfunction form bypassingFORBID_TAGS, thanks @ eddieranADD_ATTRpredicates skipping URI validation, thanks @ christos-ethUSE_PROFILESprototype pollution, thanks @ christos-ethPublished Advisories are here:
https://github.com/cure53/DOMPurify/security/advisories?state=published
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: