CVE-2026-130593
Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script
CVSS Score
5.4
EPSS Score
0.3%
EPSS Percentile
23th
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.
| CWE | CWE-79 |
| Vendor | scalar |
| Product | scalar-ninja |
| Published | Nov 17, 2026 |
| Last Updated | Nov 19, 2026 |
Stay Ahead of the Next One
Get instant alerts for scalar scalar-ninja
Be the first to know when new medium vulnerabilities affecting scalar scalar-ninja are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
Scalar / scalar-ninja
0.1.0 < 0.3.3
References
github.com: https://github.com/scalar/scalar/security/advisories/GHSA-8p3f-3g49-2935 github.com: https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264 pypi.org: https://pypi.org/project/scalar-ninja/0.3.3/ github.com: https://github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py#L529 vulncheck.com: https://www.vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-inline-configuration-script
Credits
naroSEC