CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Svelte

CVE-2025-15265
Svelte vulnerability

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.

Affected products

Svelte. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Svelte runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Svelte products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.