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 name attribute on an input or button element within that form
  • both of these are simultaneously user-controllable
<form {...spread1}>
  <input {...spread2}>
</form>

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