remorses/genql Code Injection Vulnerability

Vulnerability

A code injection vulnerability has been identified in remorses/genql versions prior to 6.3.4. This issue allows an authenticated attacker to inject arbitrary JavaScript or TypeScript into the GraphQL schema that is processed by genql. The injected code is added to the generated schema.ts file and executes when the genql client is bundled and imported. This vulnerability arises from improper encoding of output, which can be exploited by manipulating type or field descriptions in the GraphQL schema.

Impact

Exploitation of this vulnerability allows for arbitrary code execution in the context of the application using the genql client.

Remediation

Users can upgrade to genql version 6.3.4 or later to address this vulnerability.

Added: Jul 17, 2026, 12:57 AM
Updated: Jul 17, 2026, 12:57 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.3
remediation
0.0
relevance
9.7
threat
3.2
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.