{"id":"GHSA-qgvg-pr8v-6rr3","summary":"Svelte: XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers","details":"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`.","aliases":["CVE-2026-27902"],"modified":"2026-02-26T22:37:20.605129Z","published":"2026-02-26T22:25:45Z","database_specific":{"github_reviewed_at":"2026-02-26T22:25:45Z","nvd_published_at":"2026-02-26T02:16:21Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-qgvg-pr8v-6rr3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27902"},{"type":"WEB","url":"https://github.com/sveltejs/svelte/commit/0298e979371bb583855c9810db79a70a551d22b9"},{"type":"PACKAGE","url":"https://github.com/sveltejs/svelte"},{"type":"WEB","url":"https://github.com/sveltejs/svelte/releases/tag/svelte@5.53.5"}],"affected":[{"package":{"name":"svelte","ecosystem":"npm","purl":"pkg:npm/svelte"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.53.0"},{"fixed":"5.53.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-qgvg-pr8v-6rr3/GHSA-qgvg-pr8v-6rr3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N"}]}