# CVE-2026-130594: Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig title

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-17T13:52:11.392Z
- Modified: 2026-11-18T17:17:39.930Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Scalar scalar-ninja: from 0.1.0 before 0.3.3

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/scalar/scalar/security/advisories/GHSA-p42g-h3g9-2m3c> (exploit, vendor-advisory)
- <https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264> (patch)
- <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#L508> (technical-description)
- <https://www.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](https://www.cve.org/CVERecord?id=CVE-2026-130594), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-130594](https://nvd.nist.gov/vuln/detail/CVE-2026-130594), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-130594 · Whole record: https://cve.day/CVE-2026-130594.json · Rebuilt by cve.day 2026-11-25T22:59:50.990Z
