Security mailing lists by PureSourceCode

CVE-2025-15265

MEDIUM 5.3CVSS 4.0

svelte vulnerable to Cross-site Scripting

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.

Published
15 Jan 2026
Last modified
17 Jun 2026
Assigned by
help@fluidattacks.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-6738-r8g5-qwp3
Sources
NVDJSONOSV GHSA-6738-r8g5-qwp3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD help@fluidattacks.com (Secondary) CVSS 4.0 MEDIUM 5.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD svelte svelte
cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*
>= 5.46.0, < 5.46.3 5.46.3
OSV npm svelte >= 5.46.0, < 5.46.4 5.46.4

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 15 Jan 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 15 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.