CVE-2026-130594 json
Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig title
published yesterday modified 13h ago also GHSA-p42g-h3g9-2m3c , EUVD-2026-127010
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository scalar/scalar. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2026-130594 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.1 | 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 |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| CNA | 4.0 | 5.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Inferred packages
No advisory lists a package for this vulnerability yet. The CVE names these as products and links their GitHub repository, and the package registry names the same repository, so they are probably the affected packages. Low confidence: the versions are the CVE’s own for the product, and a stack check reports the package as unchecked when there are none.
| ecosystem | package | repository | affected |
|---|---|---|---|
| pypi | scalar-ninja | scalar/scalar | >= 0.1.0, < 0.3.3 |
Affected products
- Scalar scalar-ninja
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264
patch
-
github.com
/scalar/scalar/security/advisories/GHSA-p42g-h3g9-2m3c
vendor-advisory, advisory
-
pypi.org
/project/scalar-ninja/0.3.3/
release-notes
-
github.com
/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_nin
technical-description
-
vulncheck.com
/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-scalarconfig-title
third-party-advisory
Sources
- CVE List CVE-2026-130594
- NVD CVE-2026-130594
- Maintainer advisory GHSA-p42g-h3g9-2m3c
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of scalar/scalar published their own advisory on GitHub. Reviewed sources take precedence over it.