fix(security): DOMPurify updated due dependabot warnings - #13465
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Reviewed by grok-4.6 · Input: 172.1K · Output: 8.2K · Cached: 224.8K Review guidance: REVIEW.md from base branch |
marius-kilocode
approved these changes
Aug 26, 2026
This was referenced Aug 26, 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.
Update DOMPurify from 3.4.2 (and 3.3.1 in session-ui) to 3.4.13 to resolve open Dependabot alerts.
What changed
package.json: catalog + overridesdompurify→ 3.4.13packages/ui/package.jsonandpackages/session-ui/package.json: direct dependency → 3.4.13bun.lock: single resolved dompurify@3.4.13 across the workspaceWhy
3.4.2/3.3.1 are affected by several advisories (prototype pollution and XSS bypasses), including:
Updating the root override is the key fix: it currently forces every consumer — including the transitive dompurify used by
mermaidandposthog-js— back to the vulnerable 3.4.2.Validation
bun installresolves dompurify@3.4.13 workspace-widepackages/uiandpackages/session-uitypecheck cleanHTML_INTEGRATION_POINTSconfig)Supersedes dependabot PRs #12439 and #13012, which only bumped the direct deps without fixing the root override.