Svelte is a performance oriented web framework. Prior to version 5.55.7, when using spread syntax to render…
Historical advisory recorded 25 Oct 2026 10:17:15 UTC. Read the latest advisory.
nvd · CVE-2026-42599
PublishedSvelte 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-42599
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-79
Original publisher date fields
published: 2026-06-09T17:17:07.550
lastModified: 2026-07-23T08:10:00.137
1 source CPE criteria · context only
- cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON