Skip to content

chore: harden markdown renderer sanitization#2595

Open
mburri wants to merge 12 commits into
mainfrom
chore/harden-markdown-renderer-sanitization
Open

chore: harden markdown renderer sanitization#2595
mburri wants to merge 12 commits into
mainfrom
chore/harden-markdown-renderer-sanitization

Conversation

@mburri

@mburri mburri commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Remove rehype-raw and add an explicit sanitize allowlist to the markdown
renderer. Previously, raw HTML in input could produce unintended live DOM
elements. The fix covers all render surfaces: chart title, description,
dashboard meta, text blocks, and annotation tooltips.


  • I added a CHANGELOG entry
  • I made a self-review of my own code
  • I wrote tests for the changes (if applicable)
  • I wrote configurator and chart config migrations (if applicable)

@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
visualization-tool Ready Ready Preview, Comment Jul 8, 2026 2:29pm

Request Review

@mburri mburri requested a review from hupf July 8, 2026 14:06
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