{"id":"EUVD-2026-56179","enisaUuid":"fea83042-e9f2-35fd-881f-0b563c772187","description":"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\u0027s origin. This issue is fixed in @swc/html 1.15.47-nightly-20260729.1 and swc_html_minifier 59.0.0.","datePublished":"Aug 11, 2026, 2:45:12 PM","dateUpdated":"Aug 11, 2026, 6:26:38 PM","baseScore":6.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","references":"https://github.com/swc-project/swc/security/advisories/GHSA-5qr2-v392-m9g8\nhttps://github.com/swc-project/swc/pull/12080\nhttps://github.com/swc-project/swc/commit/e1877b44bdac8abc9fd51e984d584f40f6999832\nhttps://github.com/swc-project/swc/releases/tag/v1.15.47\nhttps://github.com/swc-project/swc/releases/tag/v1.15.47-nightly-20260729.1\n","aliases":"CVE-2026-72925\nGHSA-5qr2-v392-m9g8\n","assigner":"GitHub_M","epss":0.34,"enisaIdProduct":[{"id":"be4c2a91-d97c-31c8-aed5-65f19ea7b696","product":{"name":"html","vendor":{"name":"@swc"}},"product_version":"\u003c 1.15.47-nightly-20260729.1"},{"id":"cd1299c9-9ade-3639-8218-4d57d35e7593","product":{"name":"swc_html_minifier","vendor":{"name":"swc-project"}},"product_version":"\u003c 59.0.0"},{"id":"e8e14ef1-f16c-35c8-b3ba-06d2d00558c0","product":{"name":"swc","vendor":{"name":"swc-project"}},"product_version":"\u003c 1.15.47"}],"enisaIdVendor":[{"id":"43814112-cae7-3005-a0b1-8b33a0b44354","vendor":{"name":"@swc"}},{"id":"d9c57504-c2be-3e0f-8454-7ef07bcb4feb","vendor":{"name":"swc-project"}}],"enisaIdVulnerability":[{"id":"6e4c25c8-ee4d-3b64-941e-ced4463ca05b","vulnerability":{"id":"GHSA-5qr2-v392-m9g8","description":"SWC HTML minifier may allow script element breakout when minifying embedded JSON","datePublished":"Sep 8, 2026, 5:58:00 PM","dateUpdated":"Sep 8, 2026, 5:58:00 PM","baseScore":0.0,"references":"https://github.com/swc-project/swc/security/advisories/GHSA-5qr2-v392-m9g8\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-72925\nhttps://github.com/swc-project/swc/pull/12080\nhttps://github.com/swc-project/swc/commit/e1877b44bdac8abc9fd51e984d584f40f6999832\nhttps://github.com/swc-project/swc\nhttps://github.com/swc-project/swc/releases/tag/v1.15.47\nhttps://github.com/swc-project/swc/releases/tag/v1.15.47-nightly-20260729.1\n","enisa_id":"EUVD-2026-56179\n","aliases":"CVE-2026-72925\nGHSA-5qr2-v392-m9g8\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:54:50 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"df2d9e83-2086-3706-9af6-ac1f41b01f11","vulnerability":{"id":"CVE-2026-72925","description":"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\u0027s origin. This issue is fixed in @swc/html 1.15.47-nightly-20260729.1 and swc_html_minifier 59.0.0.","datePublished":"Aug 11, 2026, 2:45:12 PM","dateUpdated":"Aug 11, 2026, 6:26:38 PM","status":"PUBLISHED","baseScore":6.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","references":"https://github.com/swc-project/swc/security/advisories/GHSA-5qr2-v392-m9g8\nhttps://github.com/swc-project/swc/pull/12080\nhttps://github.com/swc-project/swc/commit/e1877b44bdac8abc9fd51e984d584f40f6999832\nhttps://github.com/swc-project/swc/releases/tag/v1.15.47\nhttps://github.com/swc-project/swc/releases/tag/v1.15.47-nightly-20260729.1\n","enisa_id":"EUVD-2026-56179\n","assigner":"GitHub_M","epss":0.34,"dataProcessed":"Nov 15, 2026, 7:17:29 AM","vulnerabilityProduct":[{"id":"0bb992c6-6cf0-3c0f-b0fc-fc4685b94d86","product":{"name":"html","vendor":{"name":"@swc"}},"product_version":"\u003c 1.15.47-nightly-20260729.1"},{"id":"7a8dc83e-0fd4-3762-a07c-bc121c41097f","product":{"name":"swc_html_minifier","vendor":{"name":"swc-project"}},"product_version":"\u003c 59.0.0"},{"id":"e80e36ac-c42b-3829-b486-cee37afaa38b","product":{"name":"swc","vendor":{"name":"swc-project"}},"product_version":"\u003c 1.15.47"}],"vulnerabilityVendor":[{"id":"9f268fef-bea0-31d7-b724-1ec39c3e17cb","vendor":{"name":"@swc"}},{"id":"a3a10540-8d66-3a1c-872f-3cc9ad82d071","vendor":{"name":"swc-project"}}]}}],"enisaIdAdvisory":[]}