{"id":"CVE-2026-27122","state":"PUBLISHED","title":"Svelte SSR does not validate dynamic element tag names in `<svelte:element>`","description":"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.","publishedAt":"2026-02-20T22:28:37.824Z","updatedAt":"2026-02-23T19:23:03.403Z","severity":{"score":5.1,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["sveltejs svelte"],"affected":[{"vendor":"sveltejs","product":"svelte","versions":[{"version":"< 5.51.5","status":"affected"}]}],"references":["https://github.com/sveltejs/svelte/security/advisories/GHSA-m56q-vw4c-c2cp"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27122.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27122","state":"PUBLISHED","datePublished":"2026-02-20T22:28:37.824Z","dateUpdated":"2026-02-23T19:23:03.403Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-17T18:42:27.043Z"},"containers":{"cna":{"title":"Svelte SSR does not validate dynamic element tag names in `<svelte:element>`","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"sveltejs","product":"svelte","versions":[{"version":"< 5.51.5","status":"affected"}]}],"references":[{"url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-m56q-vw4c-c2cp","name":"https://github.com/sveltejs/svelte/security/advisories/GHSA-m56q-vw4c-c2cp","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":5.1,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-20T22:28:37.824Z"},"source":{"advisory":"GHSA-m56q-vw4c-c2cp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-23T19:22:44.293082Z","id":"CVE-2026-27122","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-23T19:23:03.403Z"}}]}}}