CVE-2026-130593
Medium 5.1No known exploitationFix availableScalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 7% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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 sequence in content or sources to execute scripts in the documentation origin for every user viewing the API reference.
Weakness: CWE-79
Patching and mitigation
- Patch status
- Fix available (source: CVE record (VulnCheck))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Scalar | scalar-ninja | from 0.1.0 before 0.3.3 | 0.3.3 | CVE Program |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (VulnCheck)
Vendor guidance and references
- https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264 (opens in a new tab)patch
- GitHub Security Advisory (GHSA-8p3f-3g49-2935) (opens in a new tab)vendor-advisory
- https://pypi.org/project/scalar-ninja/0.3.3/ (opens in a new tab)release-notes
- https://github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py (opens in a new tab)technical-description
- VulnCheck Advisory: Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script (opens in a new tab)third-party-advisory