NetSight
medium5.1

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…

Impact

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.

An attacker can exploit this over the network, with a regular user account, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, low risk of data or systems being changed.

Affected products · Scalar

ProductAffected versions
Scalar-ninja
from 0.1.0 before 0.3.3

Weakness classification

References