Repository navigation
chore(deps): Update DOMPurify due dependabot warnings - #14827
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge DOMPurify bump 3.4.13 → 3.4.16 is consistent across the Bun catalog, overrides, and direct deps ( Files Reviewed (6 files)
Reviewed by deepseek-v4.1-flash · Input: 44.6K · Output: 6.2K · Cached: 298.8K Review guidance: REVIEW.md from base branch |
WebReflection
enabled auto-merge
October 6, 2026 08:39
brunoagatao
approved these changes
Oct 6, 2026
This was referenced Oct 7, 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.
Bump DOMPurify to 3.4.16 to clear the open Dependabot alerts and fix the IN_PLACE hook-detachment XSS in GHSA-55q2-fjhq-7xh7.
That fix shipped in 3.4.13, but its follow-up GHSA-p98j-92pf-mc4p (
afterSanitize*hooks that remove nodes leave event handlers armed on detached subtrees) affects 3.4.13–3.4.15 and is only patched in 3.4.16. That follow-up is what Dependabot still flags inpackages/ui,packages/session-uiandpackages/kilo-docs/pnpm-lock.yaml.overrides, plus the direct deps inuiandsession-ui, now pin 3.4.16, so the transitivemermaid/posthog-jscopies resolve to 3.4.16 as wellkilo-docs: refreshedpnpm-lock.yamlso the transitivedompurify(viamermaid/posthog-js) resolves to 3.4.16, with no manifest changesOur hooks don't remove nodes and we don't use
IN_PLACE, so this is defense in depth rather than a known exploit.