CVE-2026-130593 Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-130593?
CVE-2026-130593 is a medium-severity vulnerability in scalar-ninja, published on 17 Nov 2026.
Official description
Scalar scalar-ninja 0.1.0 before 0.3.3 contains a cross-site scripting vulnerability in get_scalar_api_reference() that embeds unescaped OpenAPI content inside an inline script element. Attackers can supply an OpenAPI document containing a </script><script> sequence in content or sources to execute scripts in the documentation origin for every user viewing the API reference.
Weakness: CWE-79
Which versions are affected by CVE-2026-130593?
1 open source package ship an affected version, including scalar-ninja.
| Package | Affected | Fixed in |
|---|---|---|
scalar-ninja PyPIpkg:pypi/scalar-ninja | From 0.1.0 | 0.3.3 |
How do I fix CVE-2026-130593?
Upgrade scalar-ninja to 0.3.3 or later.
Is CVE-2026-130593 being exploited?
There is no known exploitation of CVE-2026-130593 in the wild and no public exploit code.
Sources
Also known as GHSA-8p3f-3g49-2935, GHSA-qcqh-p9f6-q4wm.