build(deps): bump dompurify from 3.3.1 to 3.4.0 in /frontend#46
Closed
dependabot[bot] wants to merge 1 commit into
Closed
build(deps): bump dompurify from 3.3.1 to 3.4.0 in /frontend#46dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.3.1 to 3.4.0. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](cure53/DOMPurify@3.3.1...3.4.0) --- updated-dependencies: - dependency-name: dompurify dependency-version: 3.4.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Author
|
Superseded by #50. |
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.
Bumps dompurify from 3.3.1 to 3.4.0.
Release notes
Sourced from dompurify's releases.
Commits
5b16e0bGetting 3.x branch ready for 3.4.0 release (#1250)8bcbf73chore: Preparing 3.3.3 release5faddd6fix: engine requirement (#1210)0f91e3aUpdate README.mdd5ff1a8Merge branch 'main' of github.com:cure53/DOMPurifyc3efd48fix: moved back from jsdom 28 to jsdom 20988b888fix: moved back from jsdom 28 to jsdom 202726c74chore: Preparing 3.3.2 release6202c7ebuild(deps): bump@tootallnate/onceand jsdom (#1204)302b51dfix: Expanded the regex ever so slightly to also cover scriptDependabot 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.
Greptile Summary
Bumps
dompurifyfrom 3.3.1 to 3.4.0 infrontend/package.jsonandpackage-lock.json. This picks up three intermediate patch releases (3.3.2, 3.3.3) plus the 3.4.0 minor, which together address prototype pollution viaCUSTOM_ELEMENT_HANDLINGandUSE_PROFILES, two mXSS paths (re-contextualization and malformed closing tags),ADD_ATTRpredicate URI-validation bypass, and a missingSAFE_FOR_TEMPLATESscrub in theRETURN_DOMpath — all directly relevant to theDOMPurify.sanitize()call infrontend/src/lib/services/markdown.ts.Confidence Score: 5/5
Safe to merge — pure dependency bump that patches known security vulnerabilities with no logic changes.
Only two files changed (package.json and package-lock.json), both exclusively version and integrity-hash updates. The 3.4.0 release resolves multiple published security advisories directly relevant to this codebase's use of DOMPurify. No new APIs or behavior changes are introduced that would require code updates.
No files require special attention.
Important Files Changed
Sequence Diagram
sequenceDiagram participant Browser participant MarkdownService as markdown.ts participant DOMPurify as DOMPurify 3.4.0 participant Component as Svelte Component Browser->>MarkdownService: raw markdown string MarkdownService->>MarkdownService: marked.parse() → rawHtml MarkdownService->>DOMPurify: sanitize(rawHtml, options) Note over DOMPurify: Prototype pollution fixes<br/>mXSS re-contextualization fixes<br/>URI validation for ADD_ATTR DOMPurify-->>MarkdownService: sanitized HTML string MarkdownService-->>Component: safe HTML Component->>Browser: {@html safeHtml}Reviews (1): Last reviewed commit: "build(deps): bump dompurify from 3.3.1 t..." | Re-trigger Greptile