{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-130593","id":"CVE-2026-130593","title":"scalar-ninja XSS in OpenAPI reference rendering","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.","descriptionLong":"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.","published":"2026-11-17T13:52:12.033Z","updated":"2026-11-18T21:01:36.632698612Z","reserved":"2026-11-17T12:32:35.241Z","status":"Received","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":5.1,"vector":"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","rating":"medium","source":"VulnCheck"},"metrics":[{"version":"4.0","score":5.1,"vector":"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","rating":"medium","source":"VulnCheck"},{"version":"4.0","score":5.1,"vector":"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","rating":"medium","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"VulnCheck"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"vulncheck.com"}],"rating":"medium","products":["scalar-ninja"],"affectedProducts":[{"vendor":"Scalar","product":"scalar-ninja","defaultStatus":"unaffected","versions":[{"version":"0.1.0","lessThan":"0.3.3","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":["GHSA-8p3f-3g49-2935"],"references":[{"url":"https://github.com/scalar/scalar/security/advisories/GHSA-8p3f-3g49-2935","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/scalar/scalar/commit/0d5c2546e858e352d5d738b75c555a098a6b1264","tags":["patch","fix"]},{"url":"https://pypi.org/project/scalar-ninja/0.3.3/","tags":["release-notes","advisory"]},{"url":"https://github.com/scalar/scalar/blob/4fbffbc6c2ece137f15ded6cfaae785caa7098d8/integrations/django-ninja/scalar_ninja/scalar_ninja.py#L529","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/scalar-scalar-ninja-0.1.0-before-0.3.3-xss-via-inline-configuration-script","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130593.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130593","tags":["advisory"]},{"url":"https://github.com/scalar/scalar","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00298,"epssPercentile":0.22841,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-130593","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130593","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-130593","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-130593","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}