Search criteria
1 vulnerability by svelte
CVE-2025-15265 (GCVE-0-2025-15265)
Vulnerability from cvelistv5 – Published: 2026-01-15 19:59 – Updated: 2026-01-15 20:28
VLAI?
Title
Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)
Summary
An SSR XSS exists in async hydration when attacker‑controlled keys are passed to hydratable. The key is embedded inside a <script> block without HTML‑safe escaping, allowing </script> to terminate the script and inject arbitrary JavaScript. This enables remote script execution in users' browsers, with potential for session theft and account compromise.
This issue affects Svelte: from 5.46.0 before 5.46.3.
Severity ?
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
Credits
Camilo Vera
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-15265",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-01-15T20:28:05.329081Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-01-15T20:28:16.479Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://registry.npmjs.org",
"defaultStatus": "unaffected",
"packageName": "svelte",
"platforms": [
"Windows",
"Linux",
"MacOS"
],
"product": "Svelte",
"vendor": "Svelte",
"versions": [
{
"lessThan": "5.46.3",
"status": "affected",
"version": "5.46.0",
"versionType": "custom"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:svelte:svelte:*:*:windows:*:*:*:*:*",
"versionEndExcluding": "5.46.3",
"versionStartIncluding": "5.46.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:svelte:svelte:*:*:linux:*:*:*:*:*",
"versionEndExcluding": "5.46.3",
"versionStartIncluding": "5.46.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:svelte:svelte:*:*:macos:*:*:*:*:*",
"versionEndExcluding": "5.46.3",
"versionStartIncluding": "5.46.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Camilo Vera"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cspan style=\"background-color: rgb(255, 255, 255);\"\u003eAn SSR XSS exists in async hydration when attacker\u2011controlled keys are passed to hydratable. The key is embedded inside a \u0026lt;script\u0026gt; block without HTML\u2011safe escaping, allowing \u0026lt;/script\u0026gt; to terminate the script and inject arbitrary JavaScript. This enables remote script execution in users\u0027 browsers, with potential for session theft and account compromise.\u003c/span\u003e\u003cbr\u003e\u003cp\u003eThis issue affects Svelte: from 5.46.0 before 5.46.3.\u003c/p\u003e"
}
],
"value": "An SSR XSS exists in async hydration when attacker\u2011controlled keys are passed to hydratable. The key is embedded inside a \u003cscript\u003e block without HTML\u2011safe escaping, allowing \u003c/script\u003e to terminate the script and inject arbitrary JavaScript. This enables remote script execution in users\u0027 browsers, with potential for session theft and account compromise.\nThis issue affects Svelte: from 5.46.0 before 5.46.3."
}
],
"impacts": [
{
"capecId": "CAPEC-63",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-63 Cross-Site Scripting (XSS)"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "PASSIVE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or \u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-01-15T19:59:41.683Z",
"orgId": "84fe0718-d6bb-4716-a7e8-81a6d1daa869",
"shortName": "Fluid Attacks"
},
"references": [
{
"tags": [
"third-party-advisory"
],
"url": "https://fluidattacks.com/advisories/lydian"
},
{
"tags": [
"vendor-advisory"
],
"url": "https://github.com/sveltejs/svelte/security/advisories/GHSA-6738-r8g5-qwp3"
},
{
"tags": [
"patch"
],
"url": "https://fluidattacks.com/advisories/lydian"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)",
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "84fe0718-d6bb-4716-a7e8-81a6d1daa869",
"assignerShortName": "Fluid Attacks",
"cveId": "CVE-2025-15265",
"datePublished": "2026-01-15T19:59:41.683Z",
"dateReserved": "2025-12-29T15:31:42.980Z",
"dateUpdated": "2026-01-15T20:28:16.479Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}