GHSA-qgvg-pr8v-6rr3Medium

Svelte: XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers

Published
February 26, 2026
Last Modified
February 26, 2026

🔗 CVE IDs covered (1)

📋 Description

Errors from transformError were not correctly escaped prior to being embedded in the HTML output, causing potential HTML injection and XSS if attacker-controlled content is returned from transformError.

🎯 Affected products1

  • npm/svelte:>= 5.53.0, < 5.53.5

🔗 References (5)