All reports
Medium

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

Affected versions

Affected versions
>= 5.53.0, < 5.53.5
Fixed version
5.53.5
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-27902

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-22

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.

Links

Credits

  • elliott-with-the-longest-name-on-github
  • KarimPwnz
  • maksyche