Svelte Vulnerable to XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers
Summary
Svelte Vulnerable to XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers
Original description
The description as published by the source.
Svelte performance oriented web framework. Prior to version 5.53.5, 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. Version 5.53.5 fixes the issue.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com