svelte
npm12 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-27119MEDIUMCVSS 5.4EG 5.4✓ Fixed in 5.51.52026-02-20
svelte performance oriented web framework. From 5.39.3, <=5.51.4, in certain circumstances, the server-side rendering output of an <option> element does not properly escape its content, potentially allowing HTML injection in the SSR output…
- CVE-2026-27121MEDIUMCVSS 5.4EG 5.4✓ Fixed in 5.51.52026-02-20
svelte performance oriented web framework. Versions of svelte prior to 5.51.5 are vulnerable to cross-site scripting (XSS) during server-side rendering. When using spread syntax to render attributes from untrusted data, event handler prope…
- CVE-2026-27122MEDIUMCVSS 5.4EG 5.4✓ Fixed in 5.51.52026-02-20
svelte performance oriented web framework. Prior to 5.51.5, when using <svelte:element this={tag}> in server-side rendering, the provided tag name is not validated or sanitized before being emitted into the HTML output. If the tag string c…
- CVE-2026-27125MEDIUMCVSS 6.8EG 6.8✓ Fixed in 5.51.52026-02-20
svelte performance oriented web framework. Prior to 5.51.5, in server-side rendering, attribute spreading on elements (e.g. <div {...attrs}>) enumerates inherited properties from the object's prototype chain rather than only own properties…
- CVE-2026-27901MEDIUMCVSS 6.1EG 6.1✓ Fixed in 5.53.52026-02-26
Svelte performance oriented web framework. Prior to version 5.53.5, the contents of `bind:innerText` and `bind:textContent` on `contenteditable` elements were not properly escaped. This could enable HTML injection and Cross-Site Scripting …
- CVE-2026-27902MEDIUMCVSS 5.4EG 5.4✓ Fixed in 5.53.52026-02-26
Svelte performance oriented web framework. Prior to version 5.53.5, errors from `transformError` were not correctly escaped prior to being embedded in the HTML output, causing potential HTML injection and XSS if attacker-controlled content…
- 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 →