Advisory

GHSA-w757-xvvv-vgfw

Also known as: CVE-2026-63397

Summary

Genql: inject arbitrary JavaScript or TypeScript via a GraphQL schema

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-16 21:30 UTC
Modified
2026-08-13 18:51 UTC

Affected packages and fixes

@genql/cli

npm · All systems

Affected

  • introduced 0, fixed 6.3.4 (semver)

Fixed versions

6.3.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences