VulnWatch by ve1ve2
medium 5.1 EPSS 0.25%

CVE-2026-130594: 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 ScalarConfi…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:

https://nvd.nist.gov/vuln/detail/CVE-2026-130594 ↗

CWE-79

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 and inject a script tag that executes in the documentation origin for API reference visitors. References: https://github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py#L508 https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264 https://github.com/scalar/scalar/security/advisories/GHSA-p42g-h3g9-2m3c https://pypi.org/project/scalar-ninja/0.3.3/ https://www.vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-scalarconfig-title https://github.com/scalar/scalar/security/advisories/GHSA-p42g-h3g9-2m3c

Linked vulnerabilities (2)

CVE-2026-130594 medium 5.1 EPSS 0.25% (p16) NVDCVE.orgGHSA
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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.

CWE: CWE-79Aliases: GHSA-p42g-h3g9-2m3cNVD: Received