CVE-2026-130593
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.
How to fix
- Scalar scalar-ninja0.3.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Scalar scalar-ninja | 0.1.0 ≤ v < 0.3.3 | 0.3.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.