{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-72925","published":"2026-08-11T15:17:38.497000Z","last_modified":"2026-09-18T20:05:53.723000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79","CWE-116"],"cpes":[],"cpes_truncated":false,"vendors":["swc-project"],"products":["swc-project/swc"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-5qr2-v392-m9g8","ecosystem":"crates.io","name":"swc_html_minifier","purl":"pkg:cargo/swc_html_minifier","ranges":[{"introduced":"0","fixed":"59.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-5qr2-v392-m9g8","ecosystem":"npm","name":"@swc/html","purl":"pkg:npm/%40swc/html","ranges":[{"introduced":"0","fixed":"1.15.47-nightly-20260729.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2026-72925/","html_en":"/en/cve/CVE-2026-72925/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-72925","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-72925"},"untrusted":{"vendor_name":"swc-project","product_name":"swc","desc_en":"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.","affected":[{"untrusted_vendor":"swc-project","untrusted_product":"swc","versions":[]},{"untrusted_vendor":"@swc","untrusted_product":"html","versions":[]},{"untrusted_vendor":"swc-project","untrusted_product":"swc_html_minifier","versions":[]}],"references":[{"url":"https://github.com/swc-project/swc/commit/e1877b44bdac8abc9fd51e984d584f40f6999832","tags":[]},{"url":"https://github.com/swc-project/swc/pull/12080","tags":[]},{"url":"https://github.com/swc-project/swc/releases/tag/v1.15.47","tags":[]},{"url":"https://github.com/swc-project/swc/releases/tag/v1.15.47-nightly-20260729.1","tags":[]},{"url":"https://github.com/swc-project/swc/security/advisories/GHSA-5qr2-v392-m9g8","tags":[]}]}}