原始 OSV JSON
{
"id": "GHSA-rcqx-6q8c-2c42",
"aliases": [
"CVE-2026-42573"
],
"details": "Svelte was vulnerable to DOM clobbering of its internal framework state on elements, potentially leading to XSS attacks.\n\nYou are vulnerable if all of the following is true:\n- you are using attribute spreading on a form element\n- you are using attribute spreading or allow a dynamic value for the `name` attribute on an input or button element within that form\n- both of these are simultaneously user-controllable\n\n```svelte\n<form {...spread1}>\n <input {...spread2}>\n</form>\n```",
"summary": "Svelte Vulnerable to XSS via DOM Clobbering of Internal Framework State",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.55.7"
}
]
}
],
"package": {
"name": "svelte",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "<= 5.55.6"
}
}
],
"modified": "2026-06-09T18:41:27Z",
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"published": "2026-05-14T20:29:13Z",
"references": [
{
"url": "https://github.com/sveltejs/svelte/security/advisories/GHSA-rcqx-6q8c-2c42",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42573",
"type": "ADVISORY"
},
{
"url": "https://github.com/sveltejs/svelte",
"type": "PACKAGE"
},
{
"url": "https://github.com/sveltejs/svelte/releases/tag/svelte%405.55.7",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-06-09T17:17:07Z",
"github_reviewed_at": "2026-05-14T20:29:13Z"
}
}