Skip to content

fix(deps): update dompurify to 3.4.14 - #1625

Merged
geodro merged 2 commits into
mainfrom
fix/dompurify-detached-subtree-xss
Aug 31, 2026
Merged

fix(deps): update dompurify to 3.4.14#1625
geodro merged 2 commits into
mainfrom
fix/dompurify-detached-subtree-xss

Conversation

@geodro

@geodro geodro commented Aug 31, 2026

Copy link
Copy Markdown
Member

DOMPurify 3.4.12 and earlier leave a detached subtree executable when an IN_PLACE sanitization hook removes an element, so a descendant image can keep its attacker supplied onload handler and fire it after sanitize returns. That is GHSA-55q2-fjhq-7xh7, reported by Dependabot against the web UI lockfile and fixed upstream in 3.4.13.

The package reaches us transitively through monaco-editor, so the pin lives in the overrides block. It moves from ^3.4.9 to ^3.4.13 and the lockfile resolves to 3.4.14.

DOMPurify 3.4.12 and earlier leave a detached subtree executable when an IN_PLACE sanitization hook removes an element, so a descendant image can keep its attacker supplied onload handler and fire it after sanitize returns. That is GHSA-55q2-fjhq-7xh7, fixed upstream in 3.4.13.

The package reaches the web UI transitively through monaco-editor, so the pin lives in the overrides block. It moves from ^3.4.9 to ^3.4.13 and the lockfile resolves to 3.4.14.
@geodro
geodro requested a review from a team as a code owner August 31, 2026 14:20
@geodro
geodro merged commit 1116429 into main Aug 31, 2026
3 checks passed
@geodro
geodro deleted the fix/dompurify-detached-subtree-xss branch August 31, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant