Skip to content

fix: update dompurify to resolve GHSA-cg2g-xh64-v4q7 - #959

Open
independabot-soc2[bot] wants to merge 1 commit into
mainfrom
independabot/dompurify-GHSA-cg2g-xh64-v4q7
Open

independabot-soc2[bot] wants to merge 1 commit into
mainfrom
independabot/dompurify-GHSA-cg2g-xh64-v4q7

Conversation

@independabot-soc2

Copy link
Copy Markdown
Contributor

Hi, this is independabot — not Lili! You can ask her if you have questions, but she had no hand in generating this PR other than setting up the independabot schedule.

Please merge this PR yourself, if you approve.

Summary

Pin mermaid's transitive DOMPurify from 3.4.16 to 3.4.17 with an npm override.

Related issues

Validation

  • npm ci, npm ls dompurify → 3.4.17 overridden
  • npm audit: no DOMPurify finding; remaining 7 findings are unrelated (astro, braces/micromatch, vite)
  • npm run typecheck (0 errors), test:heading-vars (5/5), build, test:heading-tocs (3391 entries / 401 pages), test:homepage-json-ld passed
  • Node 24.0.0: Babel EBADENGINE vs ^22.18.0 || >=24.11.0. Trunk not installed.

Screenshots

None. Dependency-only change.

Follow-ups

Vite is already covered by #940. braces CVE-2026-93687 has no patched release. astro 7.3.2 remains (CVE-2026-114127).

BEFORE YOU MERGE

Instructions for resolving the vuln

Highlight the risky code / where the dependency was used

Mermaid diagrams in the docs site (mermaid → dompurify). Compatibility impact is the sanitizer patch in 3.4.17.

Special instructions for this PR

Confirm mermaid diagrams still render after merge. No post-merge steps.

AFTER YOU MERGE

None.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Oct 23, 2026
@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Oct 23, 2026 1:11pm UTC

Request Review

@independabot-soc2

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp.

Comment @warp-staging-factory on this PR to send it follow-up work.

@independabot-soc2
independabot-soc2 Bot marked this pull request as ready for review October 23, 2026 13:10
@warp-for-oss

warp-for-oss Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

@independabot-soc2[bot]

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@warp-for-oss warp-for-oss Bot 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.

Overview

This PR pins Mermaid's transitive DOMPurify dependency to 3.4.17 through an npm override and updates the lockfile to the patched package version. The attached spec context says no approved or repository spec applies, and the diff introduces no comments or tests to audit.

Concerns

  • No blocking concerns found in the annotated diff.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

This branch was successfully deployed

1 active deployment
Preview — 8f0938f6 Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants