{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-27902","id":"CVE-2026-27902","title":"Svelte Vulnerable to XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers","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.","descriptionLong":"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","updated":"2026-10-28T02:30:22.982256417Z","reserved":"2026-02-24T15:19:29.718Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.3,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.3,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["sveltejs svelte"],"affectedProducts":[{"vendor":"sveltejs","product":"svelte","defaultStatus":null,"versions":[{"version":">= 5.53.0, < 5.53.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"svelte","purl":"pkg:npm/svelte","ranges":[">=5.53.0 <5.53.5"],"fixed":["5.53.5"],"advisory":"GHSA-qgvg-pr8v-6rr3"}],"cwes":["CWE-79"],"aliases":["GHSA-qgvg-pr8v-6rr3"],"references":[{"url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-qgvg-pr8v-6rr3","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/sveltejs/svelte/commit/0298e979371bb583855c9810db79a70a551d22b9","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.53.5","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27902.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27902","tags":["advisory"]},{"url":"https://github.com/sveltejs/svelte","tags":["package"]},{"url":"https://github.com/sveltejs/svelte/releases/tag/svelte@5.53.5","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00272,"epssPercentile":0.19844,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-27902","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27902","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-27902","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qgvg-pr8v-6rr3","ok":true,"note":"GHSA-qgvg-pr8v-6rr3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-27902","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}