CVE Explorer
CVE-2026-42599
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 no
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"svelte","vendor":"sveltejs","versions":[{"status":"affected","version":"< 5.55.7"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8825292a00d1b8d5240e95fa74f5354fd79ae07ee1e572e1bfc1e0e64296ac30 · sha256:5b8ec519e93eb593… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":5.1,"baseSeverity":"MEDIUM","privilegesRequired":"HIGH","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8825292a00d1b8d5240e95fa74f5354fd79ae07ee1e572e1bfc1e0e64296ac30 · sha256:5b8ec519e93eb593… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8825292a00d1b8d5240e95fa74f5354fd79ae07ee1e572e1bfc1e0e64296ac30 · sha256:5b8ec519e93eb593… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7","tags":["x_refsource_MISC"],"url":"https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8825292a00d1b8d5240e95fa74f5354fd79ae07ee1e572e1bfc1e0e64296ac30 · sha256:5b8ec519e93eb593… · /containers/cna/references/1
{"name":"https://github.com/sveltejs/svelte/security/advisories/GHSA-pr6f-5x2q-rwfp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/sveltejs/svelte/security/advisories/GHSA-pr6f-5x2q-rwfp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8825292a00d1b8d5240e95fa74f5354fd79ae07ee1e572e1bfc1e0e64296ac30 · sha256:5b8ec519e93eb593… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.