CVE-2025-15265

Source
https://cve.org/CVERecord?id=CVE-2025-15265
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15265.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-15265
Aliases
Published
2026-01-15T19:59:41.683Z
Modified
2026-07-08T06:28:07.844676089Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15265.json",
    "cna_assigner": "Fluid Attacks",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/sveltejs/svelte

Affected ranges

Type
GIT
Repo
https://github.com/sveltejs/svelte
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "5.46.0"
        },
        {
            "fixed": "5.46.3"
        }
    ]
}

Affected versions

svelte@5.*
svelte@5.46.0
svelte@5.46.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15265.json"