Skip to content

[Snyk] Upgrade dompurify from 3.4.1 to 3.4.2#3453

Merged
reakaleek merged 1 commit into
mainfrom
snyk-upgrade-cd3e890ca26dfc2a62beccda8af909f8
Jun 3, 2026
Merged

[Snyk] Upgrade dompurify from 3.4.1 to 3.4.2#3453
reakaleek merged 1 commit into
mainfrom
snyk-upgrade-cd3e890ca26dfc2a62beccda8af909f8

Conversation

@Mpdreamz
Copy link
Copy Markdown
Member

@Mpdreamz Mpdreamz commented Jun 2, 2026

snyk-top-banner

Snyk has created this PR to upgrade dompurify from 3.4.1 to 3.4.2.

ℹ️ 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 a month ago.

Breaking Change Risk

Merge Risk: Low

Notice: This assessment is enhanced by AI.

Release notes
Package name: dompurify
  • 3.4.2 - 2026-04-30
    • Fixed an issue with URI validation on attributes allowed via ADD_ATTR callback, 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
  • 3.4.1 - 2026-04-21
    • 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 permissive CUSTOM_ELEMENT_HANDLING
    • Fixed a case-sensitivity gap in the annotation-xml check that allowed mixed-case variants to bypass the basic-custom-element exclusion in XHTML mode
    • Fixed SANITIZE_NAMED_PROPS repeatedly prefixing already-prefixed id and name values on subsequent sanitization
    • Fixed the IN_PLACE root-node check to explicitly guard against non-string nodeName (DOM-clobbering robustness)
    • Removed a duplicate slot entry 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_TEMPLATES greedy scrub, hook-added attribute handling)
    • Extended CodeQL analysis to run on 3.x and 2.x maintenance branches
from dompurify GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade dompurify from 3.4.1 to 3.4.2.

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
@Mpdreamz
Copy link
Copy Markdown
Member Author

Mpdreamz commented Jun 2, 2026

Merge Risk: Low

This is a patch version upgrade for dompurify.

Changes:

  • Fixes an issue with URI validation for attributes that are allowed via the ADD_ATTR callback.
  • Fixes an issue where source maps referred to non-existing files.

No breaking changes are documented in this release.

Source: GitHub Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@Mpdreamz Mpdreamz requested a review from a team as a code owner June 2, 2026 13:21
@Mpdreamz Mpdreamz requested a review from cotti June 2, 2026 13:21
@Mpdreamz Mpdreamz temporarily deployed to integration-tests June 2, 2026 13:21 — with GitHub Actions Inactive
@reakaleek reakaleek merged commit 667e2ec into main Jun 3, 2026
25 of 26 checks passed
@reakaleek reakaleek deleted the snyk-upgrade-cd3e890ca26dfc2a62beccda8af909f8 branch June 3, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants