CVE-2026-130593
published medium CVSS 4.0 · 5.1Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Scalar | — | scalar-ninja0.1.0 to < 0.3.3 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Scalar | scalar-ninja | 0.1.0 to < 0.3.3 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py#L529
- https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264
- GitHub Security Advisory (GHSA-8p3f-3g49-2935) https://github.com/scalar/scalar/security/advisories/GHSA-8p3f-3g49-2935
- https://pypi.org/project/scalar-ninja/0.3.3/
- VulnCheck Advisory: Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script https://www.vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-inline-configuration-script
Provider assertions
2VulnCheck · cna
Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 60752520a793e7f76b32481f53405b098859f4df8297be15f2077755fbcfc68e
- Ingested
- 19 Nov 2026, 04:05:19 UTC
- Source record
- Official CVE record