Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-72925

published medium CVSS 3.1 · 6.1

SWC HTML minifier may allow script element breakout when minifying embedded JSON

Published
11 Aug 2026, 14:45:12 UTC
Updated
11 Aug 2026, 18:26:38 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
swc-project — swc< 1.15.47 Affected Not stated GitHub_M
@swc — html< 1.15.47-nightly-20260729.1 Affected Not stated GitHub_M
swc-project — swc_html_minifier< 59.0.0 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.1 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
swc-project swc < 1.15.47 (affected) GitHub_M · cna
@swc html < 1.15.47-nightly-20260729.1 (affected) GitHub_M · cna
swc-project swc_html_minifier < 59.0.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (GitHub_M · cna)
  • CWE-116 CWE-116: Improper Encoding or Escaping of Output (GitHub_M · cna)

References

5

Provider assertions

2

GitHub_M · cna

SWC HTML minifier may allow script element breakout when minifying embedded JSON

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
5c91a66df663f54e8d275b64caeafc60bcb1ef3fe4c8615defe40f07d8f693bd
Ingested
23 Sep 2026, 09:30:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected