CVE-2026-130593 PUBLISHED

Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script

Assigner: VulnCheck
Reserved: 17.11.2026 Published: 17.11.2026 Updated: 17.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 5.1

Product Status

Vendor Scalar
Product scalar-ninja
Versions Default: unaffected
  • affected from 0.1.0 to 0.3.3 (excl.)

Credits

  • naroSEC finder

References

Problem Types

  • Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE