{"id":"CVE-2026-27902","aliases":["GHSA-qgvg-pr8v-6rr3"],"url":"https://o3.security/vulnerability/CVE-2026-27902","summary":"Svelte Vulnerable to XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers","details":"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.","published":"2026-02-26T00:58:54.604Z","modified":"2026-07-15T01:49:08.419860517Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"svelte","fixedVersion":"5.53.5"}],"fix":{"url":"https://github.com/sveltejs/svelte/commit/0298e979371bb583855c9810db79a70a551d22b9","label":"sveltejs/svelte@0298e97"},"references":[{"type":"WEB","url":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27902.json"},{"type":"ADVISORY","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":"FIX","url":"https://github.com/sveltejs/svelte/commit/0298e979371bb583855c9810db79a70a551d22b9"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:08.419860517Z"}}