Fix Dependabot alerts: bump dompurify to 3.4.13 - #2053
Merged
Conversation
Bumps the pinned `dompurify` resolution in website/ from 3.4.11 to 3.4.13 to resolve two transitive Dependabot alerts: - GHSA-55q2-fjhq-7xh7 (medium, #154): IN_PLACE hook removal leaves a detached subtree executable, causing XSS. Patched in 3.4.13. - GHSA-c2j3-45gr-mqc4 (low, #135): CUSTOM_ELEMENT_HANDLING bypasses afterSanitizeElements for allowed custom elements. Patched in 3.4.12. The two high-severity image-size alerts (#156, #157) are intentionally left open: no patched version exists upstream (all versions <= 2.0.2 are vulnerable) and it is a build-time-only Docusaurus dependency operating on trusted repository images. They will auto-resolve when a fix ships. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: cc97131d-0c2e-40dd-abd5-fa758a143d74
Copilot started reviewing on behalf of
Badrish Chandramouli (badrishc)
August 10, 2026 20:12
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the website’s transitive DOMPurify dependency to resolve two security alerts.
Changes:
- Pins DOMPurify to
3.4.13. - Regenerates the Yarn lockfile with matching metadata.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
website/package.json |
Updates the resolution and advisory references. |
website/yarn.lock |
Locks DOMPurify 3.4.13. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
kevin-montrose
approved these changes
Aug 11, 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.
What
Bumps the pinned
dompurifyresolution inwebsite/from3.4.11to3.4.13and regenerateswebsite/yarn.lockto clear two transitive Dependabot alerts.Alerts resolved
GHSA-55q2-fjhq-7xh7) — DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSS. Patched in 3.4.13.GHSA-c2j3-45gr-mqc4) — DOMPurify:CUSTOM_ELEMENT_HANDLINGbypassesafterSanitizeElementsfor allowed custom elements. Patched in 3.4.12.dompurifyis a transitive dependency (viamermaid→@docusaurus/theme-mermaid) already pinned through the existingresolutionsblock; this just advances the pin to the fixed release.Validation
yarn installregenerates the lockfile withdompurify@3.4.13.yarn build(Docusaurus static build) completes successfully.Notes
Scope is limited to
website/package.jsonandwebsite/yarn.lock— no source or runtime changes.