{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-63397",
        "assignerOrgId": "9119a7d8-5eab-497f-8521-727c672e3725",
        "state": "PUBLISHED",
        "assignerShortName": "cisa-cg",
        "dateReserved": "2026-07-16T18:33:57.457Z",
        "datePublished": "2026-07-16T19:14:30.532Z",
        "dateUpdated": "2026-07-21T17:08:22.419Z"
    },
    "containers": {
        "cna": {
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "vendor": "remorses",
                    "product": "genql",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "lessThan": "6.3.4",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.3.4",
                            "status": "unaffected"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-116 Improper Encoding or Escaping of Output",
                            "lang": "en",
                            "type": "CWE",
                            "cweId": "CWE-116"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "version": "4.0",
                        "baseScore": 7.1,
                        "attackVector": "NETWORK",
                        "baseSeverity": "HIGH",
                        "vectorString": "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",
                        "userInteraction": "ACTIVE",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "HIGH",
                        "subIntegrityImpact": "NONE",
                        "vulnIntegrityImpact": "HIGH",
                        "subAvailabilityImpact": "NONE",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "vulnConfidentialityImpact": "HIGH"
                    }
                },
                {
                    "cvssV3_1": {
                        "scope": "UNCHANGED",
                        "version": "3.1",
                        "baseScore": 6.4,
                        "attackVector": "NETWORK",
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H",
                        "integrityImpact": "HIGH",
                        "userInteraction": "REQUIRED",
                        "attackComplexity": "HIGH",
                        "availabilityImpact": "HIGH",
                        "privilegesRequired": "HIGH",
                        "confidentialityImpact": "HIGH"
                    }
                },
                {
                    "other": {
                        "type": "ssvc",
                        "content": {
                            "timestamp": "2026-07-14T17:29:12.507919Z",
                            "id": "CVE-2026-63397",
                            "options": [
                                {
                                    "Exploitation": "none"
                                },
                                {
                                    "Automatable": "no"
                                },
                                {
                                    "Technical Impact": "total"
                                }
                            ],
                            "role": "CISA Coordinator",
                            "version": "2.0.3"
                        }
                    }
                }
            ],
            "title": "remorses/genql code injection",
            "references": [
                {
                    "name": "url",
                    "url": "https://github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "name": "url",
                    "url": "https://www.cve.org/CVERecord?id=CVE-2026-63397",
                    "tags": [
                        "vdb-entry"
                    ]
                },
                {
                    "name": "url",
                    "url": "https://github.com/remorses/genql",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "url",
                    "url": "https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "value": "Hamza Haroon",
                    "lang": "en"
                }
            ],
            "datePublic": "2026-06-11T00:00:00.000Z",
            "providerMetadata": {
                "orgId": "9119a7d8-5eab-497f-8521-727c672e3725",
                "shortName": "cisa-cg",
                "dateUpdated": "2026-07-16T19:14:30.532Z"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-21T17:08:07.757480Z",
                                "id": "CVE-2026-63397",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-07-21T17:08:22.419Z"
                }
            }
        ]
    }
}