CVE-2026-27122
Svelte SSR does not validate dynamic element tag names in `<svelte:element>`
svelte performance oriented web framework. Prior to 5.51.5, when using <svelte:element this={tag}> in server-side rendering, the provided tag name is not validated or sanitized before being emitted into the HTML output. If the tag string contains unexpected characters, it can result in HTML injection in the SSR output. Client-side rendering is not affected. 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:59:58.648Z. 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.476Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:17.476Z | 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.476Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:17.476Z | 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-27122",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-02-23T19:22:44.293082Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-02-23T19:23:03.403Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-m56q-vw4c-c2cp",
"aliases": [
"CVE-2026-27122"
],
"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-m56q-vw4c-c2cp/GHSA-m56q-vw4c-c2cp.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-m56q-vw4c-c2cp",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27122",
"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:42Z"
}
}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
- OSVConsulted: 2026-11-19T12:52:29.421ZArchived source JSON
Source publication: 2026-02-19T15:18:42.000Z
Source modification: 2026-09-10T03:50:35.273ZDocument fingerprint
030e79c9ded9a028b5319a3be87d384624419e2a87960837edd70f8bcc5e9fba - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:58:17.476ZArchived source JSON
Source publication: 2026-02-20T22:28:37.824Z
Source modification: 2026-02-23T19:23:03.403ZDocument fingerprint
bc2e2ed3c50d3045a08477a363b212ffaeb0875b7c6ce5805e05f15eebf14bde - 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