Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @genql/cli
  4. ›
  5. CVE-2026-63397

CVE-2026-63397: Genql: inject arbitrary JavaScript or TypeScript via a GraphQL schema

July 16, 2026 (updated August 13, 2026)

remorses/genql before version 6.3.4 allows an authenticated attacker with control of the GraphQL schema that is passed to genql to inject arbitrary JavaScript or TypeScript. The malicious code is injected into the generated schema.ts file and executes when the genql client is bundled and imported.

References

  • github.com/advisories/GHSA-w757-xvvv-vgfw
  • github.com/remorses/genql
  • github.com/remorses/genql/commit/2dbc80ffb767ee58e6b27d9d81d58fa1ee8bea28
  • github.com/remorses/genql/issues/197
  • github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4
  • nvd.nist.gov/vuln/detail/CVE-2026-63397
  • raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json
  • www.cve.org/CVERecord?id=CVE-2026-63397

Code Behaviors & Features

Detect and mitigate CVE-2026-63397 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.3.4

Fixed versions

  • 6.3.4

Solution

Upgrade to version 6.3.4 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

npm/@genql/cli/CVE-2026-63397.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 14 Aug 2026 12:19:00 +0000.