Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Scalarscalar-ninja |
≥ 0.1.0, < 0.3.3→ 0.3.3 |
0.3.3 |
Original description The description as published by the source.
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 sequence in content or sources to execute scripts in the documentation origin for every user viewing the API reference.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory pypi.org
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web pypi.org
- web github.com