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

State
Published
Severity
5.1 Medium
Published
Nov 17, 2026
Updated
Nov 19, 2026
Reserved
Nov 17, 2026

Read the record on cve.org

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.

ProductVersions
scalar-ninja Scalar0.1.0 to before 0.3.3 Affected

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.