AUGUST 15, 2026
Live Feed
Back to database
Case File

CVE-2026-72925

MEDIUM · CVSS 6.1 EPSS 0.19% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-08-11 · Last synced 2026-08-15

CyberRota Analysis

AI-Generated

The vulnerability affects the SWC TypeScript/JavaScript compiler, specifically in the JSON minification process, which improperly handles attacker-controlled JSON in script elements. This flaw can lead to script injection, allowing malicious scripts to execute within the context of the page's origin. Developers using affected versions of SWC should prioritize updating to the fixed releases to mitigate potential exploitation risks.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-72925
Severity
MEDIUM
CVSS
6.1
EPSS
0.19%
Java

Original NVD 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's origin. This issue is fixed in @swc/html 1.15.47-nightly-20260729.1 and swc_html_minifier 59.0.0.