GitHub Advisoryadvisory · npm
GHSA-wx4j-mvgx-mqwp Satori-generated SVG has improper escaping
MEDIUM
Official page ↗
- Aliases
- CVE-2026-94545
- Ecosystem
- npm
- Packages
- satori
- Severity
- Moderate
- 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
- Weaknesses
- CWE-116
- Reviewed
- 2026-10-27
Affected packages
• npm satori: >= 0.0.27, < 0.33.5 → fixed in 0.33.5
Description
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.
Related
Alias · CVE (1)
- CVE-2026-94545 Satori is a library to convert HTML and CSS to SVG. vulnerability
Weakness · CWE (1)
- CWE-116 Improper Encoding or Escaping of Output weakness
References
- https://github.com/vercel/next.js/security/advisories/GHSA-vcvr-r3jv-pc5j web
- https://github.com/vercel/satori/security/advisories/GHSA-wx4j-mvgx-mqwp web
- https://nvd.nist.gov/vuln/detail/CVE-2026-94545 advisory
- https://github.com/vercel/satori/pull/814 web
- https://github.com/vercel/next.js/commit/868fad38690d72088868f299fa2bef339b26838e web
- https://github.com/vercel/satori/commit/26a52affc031216fee5882b6e965c8dbc7ac1782 web
- https://github.com/vercel/next.js/releases/tag/v16.3.6 web
- https://github.com/vercel/satori package