CVE-2026-130593

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 sequence in content or sources to execute scripts in the documentation origin for every user viewing the API reference.

Published

CVSS 4.0 score 5.1 out of 10.

Source evidence