CVE-2026-72925
Last modified
CVE-2026-72925 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| swc-project | swc | < 1.15.47 |
| @swc | html | < 1.15.47-nightly-20260729.1 |
| swc-project | swc_html_minifier | < 59.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-72925?
How severe is CVE-2026-72925?
How do I fix CVE-2026-72925?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7292A security vulnerability has been detected in o2oa up to 10.…5.6
- CVE-2026-72920SeaweedFS is a distributed storage system. Prior to 4.24, th…9.8
- CVE-2026-72921SeaweedFS is a distributed storage system. Prior to 4.24, th…8.1
- CVE-2026-72922AutoGPT is a workflow automation platform for creating, depl…8.2
- CVE-2026-72923In Microsoft.OpenApi.YamlReader from 2.0.0-preview.11 until …7.5
- CVE-2026-72924GitHub CLI (gh) is GitHub's official command line tool. Vers…2.1
- CVE-2026-72926Use after free in Windows Internet Connection Sharing (ICS) …7
- CVE-2026-72927Heap-based buffer overflow in Winsock allows an authorized a…7.8
- CVE-2026-72928Use after free in Windows DNS allows an authorized attacker …7.5
- CVE-2026-72929Improper validation of integrity check value in Windows Inst…7.8
- CVE-2026-7293A vulnerability was detected in SourceCodester Pizzafy Ecomm…4.7
- CVE-2026-72930Use after free in Windows Secure Socket Tunneling Protocol (…7
Are you affected by CVE-2026-72925?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
