Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig title
CVE-2026-130594Published 17 Nov 2026, 13:52 UTC
Real-world risk
1.2/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| scalar-ninjaNiche | >= 0.1.0, < 0.3.3 | 0.3.3 |
What to do
Update to a fixed version: 0.3.3.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.2% chance of exploitation in 30 days (percentile 17), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.420
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.42 × threat 0.951.197
- Rounded to one decimal between 0.1 and 101.2
Exploitation and evidence timeline
- 17 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.2 (cvss fallback)
Weakness
CWE-79
References
- https://github.com/scalar/scalar/security/advisories/GHSA-p42g-h3g9-2m3cexploit, vendor-advisory
- https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264patch
- https://pypi.org/project/scalar-ninja/0.3.3/release-notes
- https://github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py#L508technical-description
- https://www.vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-scalarconfig-titlethird-party-advisory
- CVE-2026-130594 on CVE.org