176 lines
7.2 KiB
JSON
176 lines
7.2 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-72925",
|
|
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "GitHub_M",
|
|
"dateReserved": "2026-08-10T17:57:26.144Z",
|
|
"datePublished": "2026-08-11T14:45:12.907Z",
|
|
"dateUpdated": "2026-08-11T18:26:38.644Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"title": "SWC HTML minifier may allow script element breakout when minifying embedded JSON",
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"cweId": "CWE-79",
|
|
"lang": "en",
|
|
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
|
|
"type": "CWE"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"cweId": "CWE-116",
|
|
"lang": "en",
|
|
"description": "CWE-116: Improper Encoding or Escaping of Output",
|
|
"type": "CWE"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"cvssV3_1": {
|
|
"attackComplexity": "LOW",
|
|
"attackVector": "NETWORK",
|
|
"availabilityImpact": "NONE",
|
|
"baseScore": 6.1,
|
|
"baseSeverity": "MEDIUM",
|
|
"confidentialityImpact": "LOW",
|
|
"integrityImpact": "LOW",
|
|
"privilegesRequired": "NONE",
|
|
"scope": "CHANGED",
|
|
"userInteraction": "REQUIRED",
|
|
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
|
|
"version": "3.1"
|
|
}
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"name": "https://github.com/swc-project/swc/security/advisories/GHSA-5qr2-v392-m9g8",
|
|
"tags": [
|
|
"x_refsource_CONFIRM"
|
|
],
|
|
"url": "https://github.com/swc-project/swc/security/advisories/GHSA-5qr2-v392-m9g8"
|
|
},
|
|
{
|
|
"name": "https://github.com/swc-project/swc/pull/12080",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/swc-project/swc/pull/12080"
|
|
},
|
|
{
|
|
"name": "https://github.com/swc-project/swc/commit/e1877b44bdac8abc9fd51e984d584f40f6999832",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/swc-project/swc/commit/e1877b44bdac8abc9fd51e984d584f40f6999832"
|
|
},
|
|
{
|
|
"name": "https://github.com/swc-project/swc/releases/tag/v1.15.47",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/swc-project/swc/releases/tag/v1.15.47"
|
|
},
|
|
{
|
|
"name": "https://github.com/swc-project/swc/releases/tag/v1.15.47-nightly-20260729.1",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/swc-project/swc/releases/tag/v1.15.47-nightly-20260729.1"
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"vendor": "swc-project",
|
|
"product": "swc",
|
|
"versions": [
|
|
{
|
|
"version": "< 1.15.47",
|
|
"status": "affected"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"vendor": "@swc",
|
|
"product": "html",
|
|
"versions": [
|
|
{
|
|
"version": "< 1.15.47-nightly-20260729.1",
|
|
"status": "affected"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"vendor": "swc-project",
|
|
"product": "swc_html_minifier",
|
|
"versions": [
|
|
{
|
|
"version": "< 59.0.0",
|
|
"status": "affected"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"providerMetadata": {
|
|
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
|
|
"shortName": "GitHub_M",
|
|
"dateUpdated": "2026-08-11T14:45:12.907Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "SWC is a TypeScript / JavaScript compiler written in Rust. Prior to @swc/html 1.15.47-nightly-20260729.1 and swc_html_minifier 59.0.0, the minifyJson processing in crates/swc_html_minifier/src/lib.rs parsed and serialized attacker-controlled JSON in application/json and application/ld+json script elements without the escape_json_for_html_script behavior to re-escape less-than signs, allowing a closing script sequence to terminate the element early and execute script in the generated page's origin. This issue is fixed in @swc/html 1.15.47-nightly-20260729.1 and swc_html_minifier 59.0.0."
|
|
}
|
|
],
|
|
"source": {
|
|
"advisory": "GHSA-5qr2-v392-m9g8",
|
|
"discovery": "UNKNOWN"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"timestamp": "2026-08-11T18:26:27.962954Z",
|
|
"id": "CVE-2026-72925",
|
|
"options": [
|
|
{
|
|
"Exploitation": "none"
|
|
},
|
|
{
|
|
"Automatable": "no"
|
|
},
|
|
{
|
|
"Technical Impact": "partial"
|
|
}
|
|
],
|
|
"role": "CISA Coordinator",
|
|
"version": "2.0.3"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"title": "CISA ADP Vulnrichment",
|
|
"providerMetadata": {
|
|
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
|
"shortName": "CISA-ADP",
|
|
"dateUpdated": "2026-08-11T18:26:38.644Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |