# CVE-2026-130593: Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script

- 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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-11-17T13:52:12.033Z
- Modified: 2026-11-24T20:48:26.733Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, 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 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.

(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-8p3f-3g49-2935> (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#L529> (technical-description)
- <https://www.vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-inline-configuration-script> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-130593](https://www.cve.org/CVERecord?id=CVE-2026-130593), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-130593](https://nvd.nist.gov/vuln/detail/CVE-2026-130593), Public domain, modified 2026-11-24

---

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