CVE-2026-94545 Satori-generated SVG has improper escaping
Attackers can inject malicious SVG markup via improper escaping in Satori, potentially leading to code execution when rendered.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-94545?
CVE-2026-94545 is a medium-severity cross-site scripting vulnerability in vercel next, published on 30 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
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.
Weakness: CWE-116
Which versions are affected by CVE-2026-94545?
2 open source packages ship an affected version, including satori.
| Package | Affected | Fixed in |
|---|---|---|
satori npm | From 0.0.27 | 0.33.5 |
satori npm | From 0.0.27 | 0.33.5 |
How do I fix CVE-2026-94545?
Upgrade satori to 0.33.5 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-94545 being exploited?
There is no known exploitation of CVE-2026-94545 in the wild and no public exploit code.
Public exploit code: 4 proofs of concept on GitHub.
Sources
Also known as GHSA-wx4j-mvgx-mqwp.