CVE-2026-130593
Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script
5.1
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| scalar-ninja | scalar | 0.1.0 → <0.3.3 | 0.3.3 | CVE.org |