---
cve: "CVE-2026-72925"
severity: "MEDIUM"
cvss: 6.1
epss: "0.2%"
vendor: "@swc"
kev: false
exploited: false
published: "2026-08-11 14:45:12"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-22T01:16:07+02:00"
---

# CVE-2026-72925

> 6.1 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 0febbbada006af793de3b3f1e959afe1cc21ddea (Commit)
- 68abe42bb66d03caa2d3a3a63a0d850cdc74c1ca (Commit)

## Referenzen

- <https://github.com/swc-project/swc/security/advisories/GHSA-5qr2-v392-m9g8>
- <https://github.com/swc-project/swc/pull/12080>
- <https://github.com/swc-project/swc/commit/e1877b44bdac8abc9fd51e984d584f40f6999832>
- <https://github.com/swc-project/swc/releases/tag/v1.15.47>
- <https://github.com/swc-project/swc/releases/tag/v1.15.47-nightly-20260729.1>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-72925) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
