cvelo
P3 · MediumCVSS 5.4EPSS 0.2%

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

  • CVE-2026-130593
  • GHSA-qcqh-p9f6-q4wm
  • EUVD-2026-127011

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.

Text from the CVE.org record.

Recommendation

  • Scalar scalar-ninja

    • If you run a version from 0.1.0 to before 0.3.3update to 0.3.3 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Scalar scalar-ninja

    Affected versionsFixed in
    from 0.1.0 to before 0.3.30.3.3

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.