CVE-2026-27121
Svelte affected by cross-site scripting via spread attributes in Svelte SSR
svelte performance oriented web framework. Versions of svelte prior to 5.51.5 are vulnerable to cross-site scripting (XSS) during server-side rendering. When using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers. This vulnerability is fixed in 5.51.5.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.217% · 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-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 5.1 · published by GitHub_MCVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N
Assessment source · checked 2026-11-19T12:58:17.298Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:17.298Z | 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:17.298Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:17.298Z | CVE Program |
Affected versions and configuration
sveltejs svelte; default status: unknown: < 5.51.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.51.5"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-27121",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-02-23T19:31:36.117864Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-02-23T19:34:18.150Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-f7gr-6p89-r883",
"aliases": [
"CVE-2026-27121"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.51.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-f7gr-6p89-r883/GHSA-f7gr-6p89-r883.json",
"last_known_affected_version_range": "<= 5.51.4"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/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-f7gr-6p89-r883",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27121",
"type": "ADVISORY"
},
{
"url": "https://github.com/sveltejs/svelte",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-02-20T23:16:02Z",
"github_reviewed_at": "2026-02-19T15:18:33Z"
}
}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.51.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:58:17.298ZArchived source JSON
Source publication: 2026-02-20T22:27:36.103Z
Source modification: 2026-02-23T19:34:18.150ZDocument fingerprint
de50ee81dbe731fceacecb6018897c6dc8832309524425b1d0705abbd0bed3b1 - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:29.421ZArchived source JSON
Source publication: 2026-02-19T15:18:33.000Z
Source modification: 2026-09-10T03:50:34.768ZDocument fingerprint
030e79c9ded9a028b5319a3be87d384624419e2a87960837edd70f8bcc5e9fba - 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