Cross-Site Scripting Vulnerability in Scalar Ninja by Scalar
CVE-2026-130593

5.1MEDIUM

Key Information:

Vendor

Scalar

Vendor
CVE Published:
17 November 2026

What is CVE-2026-130593?

Scalar Ninja versions 0.1.0 and earlier are susceptible to a cross-site scripting vulnerability due to the insecure handling of OpenAPI documents. The flaw occurs in the 'get_scalar_api_reference()' function, where unescaped content is embedded within an inline script element. Malicious users can craft an OpenAPI document that includes a sequence of , leading to the execution of arbitrary scripts in the context of users viewing the API reference. This can potentially allow attackers to hijack user sessions, steal sensitive data, or perform actions on behalf of users without their consent.

Affected Version(s)

scalar-ninja 0.1.0 < 0.3.3

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

naroSEC
.