Skip to content
Back to search

CVE-2026-96754

CRITICAL
9.8NVD

Summary

generated automatically from NVD data

The orval @orval/hono generator, in versions before 8.29.0, does not escape OpenAPI path values when it writes them into single-quoted route literals. An attacker who supplies an OpenAPI document with an apostrophe in a static path segment can inject arbitrary JavaScript (CWE-94, code injection) into the generated TypeScript module. The injected code runs when that module is imported. The flaw has a CVSS v3.1 score of 9.8 (CRITICAL).

NVD description

orval versions before 8.29.0 contain a code injection vulnerability in the @orval/hono generator that fails to escape OpenAPI path values in single-quoted route literals. Attackers can craft an OpenAPI document with an apostrophe in a static path segment to inject arbitrary JavaScript code that executes when the generated TypeScript module is imported.

Share:

EPSS · FIRST.org

0.54%probability of exploitation in the next 30 days

Higher than 46% of scored CVEs

EPSS (Exploit Prediction Scoring System) estimates, from observed exploitation activity, how likely a CVE is to be exploited in the next 30 days. It complements CVSS, which measures severity, not likelihood. Score of 2026-11-16, recomputed daily by FIRST.org.

In-depth analysis on cveo.tech

This CVE is covered in an article: context, affected versions and published fixes.

Similar CVEs

Other vulnerabilities of type CWE-94

…

Know which CVEs hit the versions you run.

Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.