CVE-2026-130593

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

Medium published · updated

5.1
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
scalar-ninja scalar 0.1.0 → <0.3.30.3.3 CVE.org

References