CVE-2026-130594
published medium CVSS 4.0 · 5.1Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig title
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 that allows attackers to inject scripts by supplying unescaped ScalarConfig title values. Attackers controlling title metadata can close the title element with </title> and inject a script tag that executes in the documentation origin for API reference visitors.
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#L508
- https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264
- GitHub Security Advisory (GHSA-p42g-h3g9-2m3c) https://github.com/scalar/scalar/security/advisories/GHSA-p42g-h3g9-2m3c
- https://pypi.org/project/scalar-ninja/0.3.3/
- VulnCheck Advisory: Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig title https://www.vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-scalarconfig-title
Provider assertions
2VulnCheck · cna
Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig title
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 34ee1af4f56bc982eff08aac48c0615dffdb0bd8812638e0d79f5effebf32693
- Ingested
- 18 Nov 2026, 16:25:46 UTC
- Source record
- Official CVE record