Skip to content

개선(deps): Bump dompurify from 3.4.16 to 3.5.0 - #214

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/dompurify-3.5.0
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/dompurify-3.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor

Bumps dompurify from 3.4.16 to 3.5.0.

Release notes

Sourced from dompurify's releases.

DOMPurify 3.5.0

This release contains security fixes and a few behavior changes, see below. There will be no further 3.4.x release.

Changelog

  • Fixed a further SAFE_FOR_TEMPLATES bypass where nested tags could reassemble expressions on reparse, thanks @​e1abrador
  • Fixed several ways for DOM-built input to get a template expression past SAFE_FOR_TEMPLATES: entity-encoded text in a style element nested in a textarea or title, text hidden in the children of a void element, NUL characters splitting a marker, and comments that end early on reparse
  • Fixed several gaps in the IN_PLACE fail-closed handling: a rejected root is now neutralized inside its open shadow roots, a failed call no longer leaves text or comments in the root, and a removed node that a hook or custom element puts back is sanitized again
  • Fixed a case where IN_PLACE never returned because a custom element or hook kept re-inserting a removed node, the call now fails closed
  • Fixed custom elements kept via CUSTOM_ELEMENT_HANDLING skipping the namespace check
  • Fixed a crash in the attribute loop when an uponSanitizeAttribute hook removed several attributes of the current node
  • Fixed a sanitize() call made from inside a hook or config callback replacing the config of the outer call
  • Fixed the types for RETURN_DOM, see #1728, thanks @​YevheniiKotyrlo
  • Added in-depth hardening against clobbering for IN_PLACE
  • Added regression tests for all of the above
  • Reworked the CI setup: one always-on workflow with a single required check, a read-only build job for the SLSA provenance, and a check that the tagged dist/ matches a clean build
  • Extended the Sigstore signatures to all four bundles covered by the provenance
  • Updated the README, SECURITY.md and wiki
  • Updated several dependencies

Behavioral changes

  • SAFE_FOR_TEMPLATES is guaranteed for string input. For DOM node input and IN_PLACE it is best effort, because a tree the HTML parser did not build can change shape when it is parsed again
  • A name passing CUSTOM_ELEMENT_HANDLING.tagNameCheck is only kept in HTML. Inside SVG or MathML it is not a custom element and is now removed
  • When a DOM node is passed in, a textarea or title holding an element child and a void element holding children are removed. The HTML parser never produces these, so string input is not affected
  • A sanitize() call made from a hook no longer changes how the rest of the outer call behaves. Code that relied on the old side effect needs to pass the config explicitly
  • IN_PLACE now throws when a hook or custom element keeps putting a removed node back, instead of returning the node or running indefinitely

DOMPurify 3.4.18

  • Fixed a SAFE_FOR_TEMPLATES bypass where the final scrub cut through tags and let a template expression form on reparse, thanks @​e1abrador
  • Fixed a direct property read in the clobbering check, thanks @​trace37labs
  • Removed several entries from the SVG tag allow-list that are attributes and not elements, thanks @​hackvertor
  • Added a console warning when USE_PROFILES is combined with ALLOWED_TAGS or ALLOWED_ATTR, thanks @​rugk
  • Refactored the code base: removed dead code and redundant helpers, shortened comments
  • Fixed a hook-widened allow-list carrying over when the config object received by a hook was passed back to sanitize()
  • Documented that the content of closed shadow roots cannot be sanitized (README and wiki)
  • Updated the README, the wiki and the list of contributors
  • Updated several dependencies

DOMPurify 3.4.17

  • Fixed an issue with IN_PLACE, SAFE_FOR_TEMPLATES and shadow roots, thanks @​manus-pi
  • Fixed IN_PLACE handling of nodes that hooks or custom elements tough during sanitization, thanks @​uttej-badwane
  • Fixed the SMIL attributeName guard in XHTML mode, thanks @​Koukyosyumei
  • Hardened several smaller edge cases (namespaces, literal-text elements, isValidAttribute()), thanks @​artiphishell
  • Added a purify-edge test runner as a compatibility check, thanks @​anzal1
  • Clarified the IN_PLACE documentation in the README about possible risks
  • Updated several dependencies
Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.16 to 3.5.0.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](cure53/DOMPurify@3.4.16...3.5.0)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.5.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from eddmpython as a code owner November 27, 2026 00:45
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 27, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: landing. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@eddmpython

Copy link
Copy Markdown
Owner

master 커밋 8abcc2b 에서 dompurify 를 3.5.0 으로 올려 경보가 닫혔다. 더 필요 없어 닫는다.

@eddmpython eddmpython closed this Nov 27, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/dompurify-3.5.0 branch November 27, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant