{"cve":"CVE-2026-27902","nvd":{"published":"2026-02-26T02:16:21.170","modified":"2026-06-17T10:27:51.073","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":5.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/sveltejs/svelte/commit/0298e979371bb583855c9810db79a70a551d22b9","https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5","https://github.com/sveltejs/svelte/security/advisories/GHSA-qgvg-pr8v-6rr3"],"products":["svelte:svelte"],"source":"nvd","synced_at":"2026-10-19T22:24:17.937441719+00:00"},"epss":{"cve":"CVE-2026-27902","score":0.00272,"percentile":0.1957,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qgvg-pr8v-6rr3","url":"https://osv.dev/vulnerability/GHSA-qgvg-pr8v-6rr3","summary":"Svelte: XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers","modified":"2026-02-26T22:37:20.605129Z","packages":[{"ecosystem":"npm","name":"svelte","purl":"pkg:npm/svelte","ranges":[">=5.53.0 <5.53.5"],"fixed":["5.53.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}