Skip to main content
VulnerabilityPublished

CVE-2026-72925: swc · Cross-site Scripting

Affects swcSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.1 Medium : upgrade to 1.15.47 when convenient.

Data as of 8 Nov 2026, 23:24 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.15.47, 1.15.47-nightly-20260729.1, 59.0.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Upgrade swc to 1.15.47; html to 1.15.47-nightly-20260729.1; swc_html_minifier to 59.0.0.

Affected software

ProductAffectedFixed in
swc-projectswcAffected
  • <1.15.47
Fixed in
  • 1.15.47
@swchtmlAffected
  • <1.15.47-nightly-20260729.1
Fixed in
  • 1.15.47-nightly-20260729.1
swc-projectswc_html_minifierAffected
  • <59.0.0
Fixed in
  • 59.0.0
crates.ioswc_html_minifierpkg:cargo/swc_html_minifierOther threatsAffected
  • <59.0.0
Fixed in
  • 59.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in swc_html_minifier version 59.0.0. Users should upgrade to this version or later to remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.

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.

References

Community reviews

Loading reviews…