CVE-2026-130593: medium-severity vulnerability in scalar-ninja
Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 5.1epss 0.2%
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.
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
Affected products
Scalar · scalar-ninjaRelated CVEs — scalar-ninja
In the same product, most dangerous first.
References
https://github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py#L529https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264https://github.com/scalar/scalar/security/advisories/GHSA-8p3f-3g49-2935https://pypi.org/project/scalar-ninja/0.3.3/