MEDIUMnpm →
SWC HTML minifier may allow script element breakout when minifying embedded JSON
SWC HTML minifier may allow script element breakout when minifying embedded JSON
Affected packages
- @swc/html
- swc_html_minifier
Exploit signal
- Known exploited (CISA KEV)
- No
- EPSS score
- —
- EPSS percentile
- —
EPSS is the probability a CVE is exploited in the wild; percentile is its rank among all CVEs.
Sources
- https://github.com/swc-project/swc/security/advisories/GHSA-5qr2-v392-m9g8
- https://nvd.nist.gov/vuln/detail/CVE-2026-72925
- https://github.com/swc-project/swc/pull/12080
- https://github.com/swc-project/swc/commit/e1877b44bdac8abc9fd51e984d584f40f6999832
- https://github.com/swc-project/swc
- 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
Structured record: https://osv.dev/vulnerability/GHSA-5qr2-v392-m9g8
Recommended response stack
Snyk — Scan your dependencies in CI and fix this vulnerability.→Socket — Detect malicious and compromised packages before they ship.→
Some links are affiliate links — HackTribune may earn a commission at no extra cost to you.
Get incidents like this as alerts for your stack.
Join the beta