Skip to main content
VulnerabilityPublished

CVE-2026-42599: sveltejs svelte · Cross-site Scripting

Affects sveltejs svelteSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.1 Medium : upgrade to 5.55.7 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.55.7
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade svelte and sveltejs/svelte to 5.55.7.

Affected software

ProductAffectedFixed in
sveltejssvelteAffected
  • <5.55.7
Fixed in
  • 5.55.7
npmsveltejs/sveltepkg:npm/sveltejs/svelteOther threatsAffected
  • <5.55.7
Fixed in
  • 5.55.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

This vulnerability has been patched in Svelte version 5.55.7. Users and developers should upgrade to version 5.55.7 or later to remediate this issue. No additional mitigation steps are indicated by the vendor advisory.

Description

Svelte is a performance oriented web framework. Prior to version 5.55.7, when using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers. Note that this vulnerability only triggers if the user's browser has JavaScript enabled but Svelte's hydration mechanism does not reach the vulnerable element before the event fires. This issue has been patched in version 5.55.7.

References

Community reviews

Loading reviews…