CVE-2026-130593
JSON

5.1medium

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

Severity
5.1medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
Scalar scalar-ninjafrom 0.1.0 before 0.3.3CVE List

All scores

VulnCheck5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
VulnCheck5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-130593 changed 2026-11-19CVE Terms of Use
NVDCVE-2026-130593 changed 2026-11-24Public domain