{"cve":"CVE-2026-62682","nvd":{"published":"2026-08-19T18:16:54.520","modified":"2026-09-09T21:20:38.860","status":"Deferred","description":"Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, an unescaped backtick in servers[0].url is emitted into request URL template literals generated when output.baseUrl.getBaseUrlFromSpecification is enabled without safe encoding. This permits attacker-controlled JavaScript to be evaluated when a generated request or URL-builder function is called, resulting in code execution in the developer, CI, test, or application environment. The affected code is packages/core/src/getters/route.ts function getFullRoute. This issue is fixed in version 8.21.0.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3},"cvss_v3":null,"cwes":["CWE-94","CWE-116","CWE-1336"],"references":["https://github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6","https://github.com/orval-labs/orval/pull/3692","https://github.com/orval-labs/orval/releases/tag/v8.21.0","https://github.com/orval-labs/orval/security/advisories/GHSA-88f2-fpv8-89q2","https://github.com/orval-labs/orval/security/advisories/GHSA-88f2-fpv8-89q2"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-62682","score":0.00653,"percentile":0.5129,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-88f2-fpv8-89q2","url":"https://osv.dev/vulnerability/GHSA-88f2-fpv8-89q2","summary":"Orval: RCE via servers[].url -> unescaped request-URL template literal (with getBaseUrlFromSpecification)","modified":"2026-09-18T05:30:05.787032756Z","packages":[{"ecosystem":"npm","name":"orval","purl":"pkg:npm/orval","ranges":["<8.21.0"],"fixed":["8.21.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}