Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/svelte@3.6.6
purl pkg:npm/svelte@3.6.6
Next non-vulnerable version 5.53.5
Latest non-vulnerable version 5.55.7
Risk 4.0
Vulnerabilities affecting this package (7)
Vulnerability Summary Fixed by
VCID-2j3d-x54j-jfd1
Aliases:
CVE-2024-45047
GHSA-8266-84wp-wv5c
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 stay as such, but in some situation the final DOM tree rendered on browsers is different from what Svelte expects on server-side rendering. This may be leveraged to perform XSS attacks, and a type of the XSS is known as mXSS (mutation XSS). More specifically, this can occur when injecting malicious content into an attribute within a `noscript` tag. This issue has been addressed in release version 4.2.19. Users are advised to upgrade. There are no known workarounds for this vulnerability.
4.2.19
Affected by 4 other vulnerabilities.
VCID-4hh1-vzj8-bqfy
Aliases:
CVE-2026-27122
GHSA-m56q-vw4c-c2cp
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 contains unexpected characters, it can result in HTML injection in the SSR output. Client-side rendering is not affected. This vulnerability is fixed in 5.51.5.
5.51.5
Affected by 2 other vulnerabilities.
VCID-75fv-ej35-dyd6
Aliases:
CVE-2022-25875
GHSA-wv8q-r932-8hc7
Svelte vulnerable to XSS when using objects during server-side rendering
3.49.0
Affected by 6 other vulnerabilities.
VCID-eub6-k2yh-suhb
Aliases:
CVE-2026-27901
GHSA-phwv-c562-gvmh
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 (XSS) if rendering untrusted data as the binding's initial value on the server. Version 5.53.5 fixes the issue.
5.53.5
Affected by 0 other vulnerabilities.
VCID-qsvk-vr5z-97hg
Aliases:
GHSA-gw32-9rmw-qwww
svelte is vulnerable to XSS with textarea bind:value
3.59.2
Affected by 5 other vulnerabilities.
VCID-w8kg-2qq6-xyet
Aliases:
CVE-2026-27121
GHSA-f7gr-6p89-r883
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 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. This vulnerability is fixed in 5.51.5.
5.51.5
Affected by 2 other vulnerabilities.
VCID-x1g1-8b9m-5yhz
Aliases:
CVE-2026-27125
GHSA-crpf-4hrx-3jrp
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. In environments where Object.prototype has already been polluted — a precondition outside of Svelte's control — this can cause unexpected attributes to appear in SSR output or cause SSR to throw errors. Client-side rendering is not affected. This vulnerability is fixed in 5.51.5.
5.51.5
Affected by 2 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-12T21:10:19.966179+00:00 GitLab Importer Affected by VCID-eub6-k2yh-suhb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/svelte/CVE-2026-27901.yml 38.6.0
2026-06-12T21:01:37.972234+00:00 GitLab Importer Affected by VCID-w8kg-2qq6-xyet https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/svelte/CVE-2026-27121.yml 38.6.0
2026-06-12T21:01:25.748792+00:00 GitLab Importer Affected by VCID-4hh1-vzj8-bqfy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/svelte/CVE-2026-27122.yml 38.6.0
2026-06-12T21:01:15.908780+00:00 GitLab Importer Affected by VCID-x1g1-8b9m-5yhz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/svelte/CVE-2026-27125.yml 38.6.0
2026-06-12T20:48:53.181690+00:00 GitLab Importer Affected by VCID-qsvk-vr5z-97hg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/svelte/GHSA-gw32-9rmw-qwww.yml 38.6.0
2026-06-12T19:38:24.019608+00:00 GitLab Importer Affected by VCID-2j3d-x54j-jfd1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/svelte/CVE-2024-45047.yml 38.6.0
2026-06-12T18:27:50.745132+00:00 GitLab Importer Affected by VCID-75fv-ej35-dyd6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/svelte/CVE-2022-25875.yml 38.6.0