Back to CVE records
Critical 9.8Published Oct 10, 2026

CVE-2026-108551openapi-typescript-codegen through 0.31.0 Code Injection via Handlebars Templates

Updated under an hour ago ()

Does this affect you?

It affects ferdikoomen openapi-typescript-codegen. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.41%, higher than 34% of scored CVEs.

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.

CVSS
9.8 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-94
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.41% (percentile 34)
Assigned by
VulnCheck
NVD analysis
Deferred
Record last updated
Oct 13, 2026
First seen by InfoSec Signals
Oct 10, 2026

Affected products

Affected products
ferdikoomen openapi-typescript-codegen
ferdikoomen:openapi_typescript_codegen (from the name)
through 0.31.0
CNA record

References

  • issue-tracking
  • product
  • technical-description
  • technical-description
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.