CVE-2026-130593: scalar-ninja · Cross-site Scripting
Affects scalar-ninjaSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium : upgrade to 0.3.3 when convenient.
Data as of 17 Nov 2026, 14:11 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.4 |
- Patch
- Available – fixed in 0.3.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade scalar-ninja to 0.3.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Scalarscalar-ninja | Affected
| Fixed in
|
PyPIscalar-ninjapkg:pypi/scalar-ninjaOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Scalar scalar-ninja to version 0.3.3 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated by the vendor advisory.
Description
Scalar scalar-ninja versions 0.1.0 up to but not including 0.3.3 contain a cross-site scripting (XSS) vulnerability in the get_scalar_api_reference() function. This flaw allows attackers to inject malicious scripts by embedding unescaped OpenAPI content inside an inline script element, potentially executing scripts in the context of the documentation origin for users viewing the API reference. The issue is fixed in version 0.3.3.
References
- github.com/scalar/scalar/security/advisories/GHSA-8p3f-3g49-2935 (opens in a new tab)
- github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264 (opens in a new tab)
- pypi.org/project/scalar-ninja/0.3.3/ (opens in a new tab)
- github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py (opens in a new tab)
- vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-inline-configuration-script (opens in a new tab)