remorses/genql · Security

Genql: inject arbitrary JavaScript or TypeScript via a GraphQL schema

GHSA ID
GHSA-w757-xvvv-vgfw
CVE ID
CVE-2026-63397
Severity
high
Published
Updated
CVSS
6.4 · CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
CVSS v3
6.4 · CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
CVSS v4
7.1 · CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

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.

CWEs

References