GHSA-w757-xvvv-vgfw

Suggest an improvement
Source
https://github.com/advisories/GHSA-w757-xvvv-vgfw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-w757-xvvv-vgfw/GHSA-w757-xvvv-vgfw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w757-xvvv-vgfw
Aliases
Published
2026-07-16T21:30:38Z
Modified
2026-08-13T18:51:16Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-116"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-13T18:29:06Z",
    "nvd_published_at":  "2026-07-16T20:16:47Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / @genql/cli

Package

Name
@genql/cli
View open source insights on deps.dev
Purl
pkg:npm/%40genql/cli

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.3.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-w757-xvvv-vgfw/GHSA-w757-xvvv-vgfw.json"