PT-2026-148885
CVE-2026-130593
·
Published
2026-11-17
·
Updated
2026-11-17
Description by
CVSS 3.1
5.4
MediumMetricsAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
scalar-ninja versions 0.1.0 through 0.3.2
Description
The
get scalar api reference() function embeds unescaped OpenAPI content within an inline script element. This allows attackers to provide an OpenAPI document containing a </script><script> sequence in the content or sources, leading to the execution of arbitrary scripts in the documentation origin for any user viewing the API reference.Recommendations
Update scalar-ninja to version 0.3.3 or later.
As a temporary workaround, restrict the use of the
get scalar api reference() function until the update is applied.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾