svelte
npm6 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting sveltepage 1 of 1
- CVE-2022-25875MEDIUMCVSS 5.4EG 5.4✓ Fixed in 3.49.02022-07-12
The package svelte before 3.49.0 are vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and to improper escape of attributes when using objects during SSR (Server-Side Rendering). Exploiting this vulnerability is p…
- CVE-2024-45047MEDIUMCVSS 5.4EG 5.4✓ Fixed in 4.2.192024-08-30
svelte performance oriented web framework. A potential mXSS vulnerability exists in Svelte for versions up to but not including 4.2.19. Svelte improperly escapes HTML on server-side rendering. The assumption is that attributes will always …
- CVE-2025-15265MEDIUMCVSS 6.1EG 6.1✓ Fixed in 5.46.42026-01-15
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 JavaSc…
- CVE-2026-42567HIGHCVSS 7.5EG 7.5✓ Fixed in 5.55.72026-06-09
Svelte is a performance oriented web framework. From version 5.51.5 to before version 5.55.7, an internal regex in the Svelte runtime can take exponential time to test in <svelte:element this={tag}></svelte:element>. This issue has been pa…
- CVE-2026-42573MEDIUMCVSS 6.1EG 6.1✓ Fixed in 5.55.72026-06-09
Svelte is a performance oriented web framework. Prior to version 5.55.7, Svelte was vulnerable to DOM clobbering of its internal framework state on elements, potentially leading to XSS attacks. This issue has been patched in version 5.55.7.
- CVE-2026-42599MEDIUMCVSS 6.1EG 6.1✓ Fixed in 5.55.72026-06-09
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-c…
Check whether svelte is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for svelte CVEs against the assets you own.
Start Free Scan →