CVE-2026-27902
Svelte Vulnerable to XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.272% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 5.3 · published by GitHub_MCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
Assessment source · checked 2026-11-19T12:58:19.078Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:19.078Z | CVE Program |
| epss | verified | 2026-11-19T16:04:48.211Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:29.421Z | OSV |
| affected | verified | 2026-11-19T12:58:19.078Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:19.078Z | CVE Program |
Affected versions and configuration
sveltejs svelte; default status: unknown: >= 5.53.0, < 5.53.5 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "sveltejs",
"product": "svelte",
"versions": [
{
"status": "affected",
"version": ">= 5.53.0, < 5.53.5"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-27902",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-02-26T18:51:28.889254Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-02-26T18:51:39.142Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-qgvg-pr8v-6rr3",
"aliases": [
"CVE-2026-27902"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.53.0"
},
{
"fixed": "5.53.5"
}
]
}
],
"package": {
"name": "svelte",
"purl": "pkg:npm/svelte",
"ecosystem": "npm"
},
"versions": [],
"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"
}
}
],
"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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/sveltejs/svelte/security/advisories/GHSA-qgvg-pr8v-6rr3",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27902",
"type": "ADVISORY"
},
{
"url": "https://github.com/sveltejs/svelte/commit/0298e979371bb583855c9810db79a70a551d22b9",
"type": "WEB"
},
{
"url": "https://github.com/sveltejs/svelte",
"type": "PACKAGE"
},
{
"url": "https://github.com/sveltejs/svelte/releases/tag/[email protected]",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-02-26T02:16:21Z",
"github_reviewed_at": "2026-02-26T22:25:45Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | svelte | Not a distribution channel | 5.53.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:29.421ZArchived source JSON
Source publication: 2026-02-26T22:25:45.000Z
Source modification: 2026-02-26T22:37:20.605ZDocument fingerprint
030e79c9ded9a028b5319a3be87d384624419e2a87960837edd70f8bcc5e9fba - CVE ProgramConsulted: 2026-11-19T12:58:19.078ZArchived source JSON
Source publication: 2026-02-26T00:58:54.604Z
Source modification: 2026-02-26T18:51:39.142ZDocument fingerprint
0fa92fbcdd4016c59b7e4133a2aca78b66d0bf29a32d41bd3800b6f21c76e172 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:48.211ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
2438b0af5d307bc4622b5c1b0dc3ffbe873c9bb6ab482509038cc59a4fc63d32
Official status history
- UNKNOWN → PUBLISHED · · evidence