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

Medium 5.1 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-130593?

CVE-2026-130593 is a medium-severity vulnerability in scalar-ninja, published on 17 Nov 2026.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-130593?

1 open source package ship an affected version, including scalar-ninja.

PackageAffectedFixed in
scalar-ninja PyPI
pkg:pypi/scalar-ninja
From 0.1.00.3.3

How do I fix CVE-2026-130593?

Upgrade scalar-ninja to 0.3.3 or later.

Is CVE-2026-130593 being exploited?

There is no known exploitation of CVE-2026-130593 in the wild and no public exploit code.

Sources

Also known as GHSA-8p3f-3g49-2935, GHSA-qcqh-p9f6-q4wm.

Is CVE-2026-130593 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free