Vulnerability GHSA-rcqx-6q8c-2c42
Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
6 months ago
May 14, 2026 at 08:29 PM UTC
Svelte Vulnerable to XSS via DOM Clobbering of Internal Framework State
<5.55.7
<5.55.7
Summary
Svelte Vulnerable to XSS via DOM Clobbering of Internal Framework State
Details
Svelte was vulnerable to DOM clobbering of its internal framework state on elements, potentially leading to XSS attacks.
You are vulnerable if all of the following is true:
- you are using attribute spreading on a form element
- you are using attribute spreading or allow a dynamic value for the
nameattribute on an input or button element within that form - both of these are simultaneously user-controllable
<form {...spread1}>
<input {...spread2}>
</form>
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Medium Risk
6 months ago
Svelte: SSR XSS via Insecure Promise Serialization in hydratable
>=5.46.0 <5.55.7 GHSA-f3cj-j4f6-wq85
>=5.46.0 <5.55.7 GHSA-f3cj-j4f6-wq85
Medium Risk
6 months ago
Svelte: ReDoS in `<svelte:element>` Tag Validation
>=5.51.5 <5.55.7 GHSA-9rmh-mm8f-r9h6
>=5.51.5 <5.55.7 GHSA-9rmh-mm8f-r9h6
Medium Risk
6 months ago
Svelte SSR vulnerable to cross-site scripting via spread attributes
<5.55.7 GHSA-pr6f-5x2q-rwfp
<5.55.7 GHSA-pr6f-5x2q-rwfp
Medium Risk
8 months ago
Svelte: XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers
>=5.53.0 <5.53.5 GHSA-qgvg-pr8v-6rr3
>=5.53.0 <5.53.5 GHSA-qgvg-pr8v-6rr3
Medium Risk
8 months ago
Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
<5.53.5 GHSA-phwv-c562-gvmh
<5.53.5 GHSA-phwv-c562-gvmh
Impacted packages
Timeline
Published
6 months ago
May 14, 2026 at 08:29 PM UTC
Fixed (5.55.7)
6 months ago
May 15, 2026 at 06:01 AM UTC
Last Modified
5 months ago
June 09, 2026 at 06:45 PM UTC