SecurityContext

CVE-2026-130594: Scalar scalar-ninja - Cross-Site Scripting

  • Cve: CVE-2026-130594
  • Name: Scalar scalar-ninja - Cross-Site Scripting
  • 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.
  • Impact: Attackers can execute arbitrary scripts in the documentation origin, potentially stealing user data or performing actions on behalf of visitors.
  • Remediation: Upgrade to version 0.3.3 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirements: Attacker needs control over title metadata
  • Labels source: securitycontext
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00247
  • Epss percentile: 0.15986
  • Assignee: [email protected]
  • Published at: 2026-11-17T14:17:46Z
  • Age in days: 8
  • Modified at: 2026-11-18T17:17:39Z
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-130594
  • Nvd status: received
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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

Projects

RepositoryLink kindsIndexedUrl
scalar/scalarcommit, fix, security_advisoryyes/v1/repositories/scalar/scalar

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts