{
  "id": "CVE-2026-96757",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-96757",
  "published_at": "2026-09-23T16:23:55.164Z",
  "title": "orval before 8.29.0 Code Injection via unescaped OpenAPI media-type",
  "vendor": "orval-labs",
  "product": "orval",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "orval before 8.29.0 fails to escape OpenAPI media-type keys when emitting them into single-quoted Content-Type string literals in generated code. Attackers can inject JavaScript through crafted media-type keys in OpenAPI specifications that executes when generated fetch operations or mock resolvers are invoked.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "orval-labs",
        "product": "orval",
        "ranges": [
          "\u003e= 6.7.1, \u003c 8.29.0"
        ],
        "fixed_in": [
          "8.29.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade orval to 8.29.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/orval-labs/orval/security/advisories/GHSA-rcpr-mq4m-jx9j"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/orval-labs/orval/pull/4007"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/orval-labs/orval/commit/43af282d62dca0ef3140023741fb768f6a718adb"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/orval-labs/orval/commit/a2d4af59f3b167dc8a7a65d15f51cdb89ebe2fe5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
