GHSA-rcqx-6q8c-2c42

Suggest an improvement
Source
https://github.com/advisories/GHSA-rcqx-6q8c-2c42
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-rcqx-6q8c-2c42/GHSA-rcqx-6q8c-2c42.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rcqx-6q8c-2c42
Aliases
  • CVE-2026-42573
Published
2026-05-14T20:29:13Z
Modified
2026-05-14T20:52:30.008507Z
Severity
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:N CVSS Calculator
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>

Database specific
{
    "github_reviewed": true,
    "severity": "MODERATE",
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed_at": "2026-05-14T20:29:13Z"
}
References

Affected packages

npm / svelte

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.55.7

Database specific

last_known_affected_version_range
"<= 5.55.6"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-rcqx-6q8c-2c42/GHSA-rcqx-6q8c-2c42.json"