Satori-generated SVG has improper escaping
Impact
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.
Workaround
No complete workaround exists besides upgrading. Applications that cannot immediately upgrade should not render attacker-controlled content with Satori.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | satori | >= 0.0.27, < 0.33.5 | 0.33.5 |
References
- https://github.com/vercel/next.js/security/advisories/GHSA-vcvr-r3jv-pc5j
- https://github.com/vercel/satori/security/advisories/GHSA-wx4j-mvgx-mqwp
- https://nvd.nist.gov/vuln/detail/CVE-2026-94545
- https://github.com/vercel/satori/pull/814
- https://github.com/vercel/next.js/commit/868fad38690d72088868f299fa2bef339b26838e
- https://github.com/vercel/satori/commit/26a52affc031216fee5882b6e965c8dbc7ac1782
- https://github.com/vercel/next.js/releases/tag/v16.3.6
- https://github.com/vercel/satori
- CVSS 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- Weakness (CWE)
CWE-116- Platform
- npm
- Package
satori- Disclosed
- 27.10.2026
- Updated
- 27.10.2026 16:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-wx4j-mvgx-mqwp - CC BY 4.0
Vulnerability history: satori
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.