CVE-2026-130593 Scalar scalar-ninja 0.1.0 before 0.3.3 XSS via Inline Configuration Script
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Scalar
scalar-ninja
영향 받는 버전
- 0.1.0 이상 0.3.3 미만
해결 버전
- 0.3.3 이상
참고 자료 5건
- github.com https://github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py#L529 (새 창)
- github.com https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264 (새 창)
- github.com https://github.com/scalar/scalar/security/advisories/GHSA-8p3f-3g49-2935 (새 창)
- pypi.org https://pypi.org/project/scalar-ninja/0.3.3/ (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-inline-configuration-script (새 창)