CVE-2026-27902

EPSS 0.03%

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

Published: 2/26/2026Modified: 2/26/2026
Also known as:GHSA-qgvg-pr8v-6rr3

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 packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N

References (5)