Repository navigation
fix(deps): update dependency dompurify to v3.5.0 - #192
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
This PR contains the following updates:
3.4.18→3.5.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
cure53/DOMPurify (dompurify)
v3.5.0: DOMPurify 3.5.0Compare Source
This release contains security fixes and a few behavior changes, see below. There will be no further 3.4.x release.
Changelog
SAFE_FOR_TEMPLATESbypass where nested tags could reassemble expressions on reparse, thanks @e1abradorSAFE_FOR_TEMPLATES: entity-encoded text in astyleelement nested in atextareaortitle, text hidden in the children of a void element, NUL characters splitting a marker, and comments that end early on reparseIN_PLACEfail-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 againIN_PLACEnever returned because a custom element or hook kept re-inserting a removed node, the call now fails closedCUSTOM_ELEMENT_HANDLINGskipping the namespace checkuponSanitizeAttributehook removed several attributes of the current nodesanitize()call made from inside a hook or config callback replacing the config of the outer callRETURN_DOM, see #1728, thanks @YevheniiKotyrloIN_PLACEdist/matches a clean buildBehavioral changes
SAFE_FOR_TEMPLATESis guaranteed for string input. For DOM node input andIN_PLACEit is best effort, because a tree the HTML parser did not build can change shape when it is parsed againCUSTOM_ELEMENT_HANDLING.tagNameCheckis only kept in HTML. Inside SVG or MathML it is not a custom element and is now removedtextareaortitleholding an element child and a void element holding children are removed. The HTML parser never produces these, so string input is not affectedsanitize()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 explicitlyIN_PLACEnow throws when a hook or custom element keeps putting a removed node back, instead of returning the node or running indefinitelyConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.