Skip to content

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

MediumCVSS 5.1 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi scalar-ninja >= 0.1.0, < 0.3.3 0.3.3 Fixed

Affected products

ProductAffected versionsFixed in
pypi scalar-ninja >= 0.1.0, < 0.3.3 0.3.3

References