{
  "id": "CVE-2026-108551",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-108551",
  "published_at": "2026-10-10T14:35:05.552Z",
  "title": "openapi-typescript-codegen through 0.31.0 Code Injection via Handlebars Templates",
  "vendor": "ferdikoomen",
  "product": "openapi-typescript-codegen",
  "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": {
    "created_at": "2026-10-23T13:32:59Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 13,
    "repo": "Zombie-Kaiser/CVE-2026-108551-POC",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "openapi-typescript-codegen through 0.31.0 contains a code injection vulnerability that allows attackers controlling an OpenAPI document to inject JavaScript by supplying unescaped values interpolated into single-quoted string literals. Attackers can embed a single quote in path keys, parameter names, servers[0].url, or info.version to execute arbitrary JavaScript when generated clients are imported or service methods called.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "Zombie-Kaiser/CVE-2026-108551-POC",
      "url": "https://github.com/Zombie-Kaiser/CVE-2026-108551-POC",
      "created_at": "2026-10-23T13:32:59Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-08-06T15:05:48Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "ferdikoomen",
        "product": "openapi-typescript-codegen",
        "ranges": [
          "\u003c= 0.31.0"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
