Skip to content

Fix Dependabot alerts: bump dompurify to 3.4.13 - #2053

Merged
Badrish Chandramouli (badrishc) merged 3 commits into
mainfrom
badrishc/fix-alerts
Aug 11, 2026
Merged

Fix Dependabot alerts: bump dompurify to 3.4.13#2053
Badrish Chandramouli (badrishc) merged 3 commits into
mainfrom
badrishc/fix-alerts

Conversation

@badrishc

@badrishc Badrish Chandramouli (badrishc) commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

What

Bumps the pinned dompurify resolution in website/ from 3.4.11 to 3.4.13 and regenerates website/yarn.lock to clear two transitive Dependabot alerts.

Alerts resolved

dompurify is a transitive dependency (via mermaid@docusaurus/theme-mermaid) already pinned through the existing resolutions block; this just advances the pin to the fixed release.

Validation

  • yarn install regenerates the lockfile with dompurify@3.4.13.
  • yarn build (Docusaurus static build) completes successfully.

Notes

Scope is limited to website/package.json and website/yarn.lock — no source or runtime changes.

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 AI balanced review requested due to automatic review settings August 10, 2026 20:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@badrishc
Badrish Chandramouli (badrishc) merged commit ff10357 into main Aug 11, 2026
16 checks passed
@badrishc
Badrish Chandramouli (badrishc) deleted the badrishc/fix-alerts branch August 11, 2026 18:13
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.

3 participants