Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig title
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 17, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 17, 2026
Description
Scalar scalar-ninja 0.1.0 before 0.3.3 contains a cross-site scripting vulnerability that allows attackers to inject scripts by supplying unescaped ScalarConfig title values. Attackers controlling title metadata can close the title element with </title> and inject a script tag that executes in the documentation origin for API reference visitors.
| Product | Versions |
|---|---|
| scalar-ninja Scalar | 0.1.0 to before 0.3.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-p42g-h3g9-2m3c)Vendor Advisory
- https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264Patch
- https://pypi.org/project/scalar-ninja/0.3.3/Release Notes
- https://github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py#L508Technical Details
- VulnCheck Advisory: Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via ScalarConfig titleThird-Party Advisory
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.