XSS in Scalar Scalar-Ninja
CVE-2026-130593
- CVSS v3
- 5.4 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 6.6th percentile
- Published
- 2026-11-17
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.002, 6.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/scalar/scalar/security/advisories/GHSA-8p3f-3g49-2935 (vendor-advisory)
- github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264 (patch)
- pypi.org/project/scalar-ninja/0.3.3/ (release-notes)
- github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrat… (technical-description)
- www.vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-inl… (third-party-advisory)