{"id":"CVE-2026-27122","aliases":["CVE-2026-27122","GHSA-m56q-vw4c-c2cp"],"related":[],"kind":"vulnerability","state":"published","title":"Svelte SSR does not validate dynamic element tag names in `<svelte:element>`","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"framework web svelte orientado al rendimiento. Antes de 5.51.5, al usar  en la renderización del lado del servidor, el nombre de etiqueta proporcionado no se valida ni se sanea antes de ser emitido en la salida HTML. Si la cadena de etiqueta contiene caracteres inesperados, puede resultar en inyección HTML en la salida SSR. La renderización del lado del cliente no se ve afectada. Esta vulnerabilidad se ha corregido en 5.51.5.","source":"nvd"}],"published":"2026-02-19T15:18:42.000Z","modified":"2026-09-10T03:50:35.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 5.51.5","status":"affected"}],"vendor":"sveltejs","product":"svelte","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.51.5"}],"ecosystem":"npm","package":"svelte","purl":"pkg:npm/svelte","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.51.5"}],"vendor":"svelte","product":"svelte","cpe":"cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-m56q-vw4c-c2cp","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27122","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sveltejs/svelte","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-23T19:22:44.293Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27122","url":"https://www.cve.org/CVERecord?id=CVE-2026-27122","licence":"CVE Terms of Use","modified":"2026-02-23T19:23:03.403Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m56q-vw4c-c2cp","url":"https://github.com/advisories/GHSA-m56q-vw4c-c2cp","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:35.273Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27122","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27122","licence":"Public domain","modified":"2026-06-17T10:26:42.403Z"}],"updatedAt":"2026-11-25T22:59:14.429Z","epss":{"score":0.00217,"percentile":0.12903,"date":"2026-12-01T12:00:22.000Z"}}