Vulnerability · Published Sep 30, 2026 · Assigned by GitHub_M
CVE-2026-94545Satori-generated SVG has improper escaping
Medium 5.3
In plain English
A medium-severity security flaw in next from vercel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
Satori is a library to convert HTML and CSS to SVG. Starting in version 0.0.27 and prior to version 0.33.5, Satori does not properly escape certain values before including them in generated SVG output. This can allow crafted values to be interpreted as SVG markup. The impact depends on how the generated SVG is consumed. Version 0.33.5 contains a patch. No complete workaround exists besides upgrading. Applications that cannot immediately upgrade should not render attacker-controlled content with Satori.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | satori | 0.33.5 | GHSA-wx4j-mvgx-mqwp |
Affected products (as reported)
Weakness: CWE-116 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
References
- https://github.com/vercel/satori/security/advisories/GHSA-wx4j-mvgx-mqwp x_refsource_CONFIRM
- https://github.com/vercel/next.js/security/advisories/GHSA-vcvr-r3jv-pc5j x_refsource_MISC
- https://github.com/vercel/satori/pull/814 x_refsource_MISC
- https://github.com/vercel/next.js/commit/868fad38690d72088868f299fa2bef339b26838e x_refsource_MISC
- https://github.com/vercel/satori/commit/26a52affc031216fee5882b6e965c8dbc7ac1782 x_refsource_MISC
- https://github.com/vercel/next.js/releases/tag/v16.3.6 x_refsource_MISC