Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications.…
Historical advisory recorded 25 Oct 2026 14:19:28 UTC. Read the latest advisory.
nvd · CVE-2026-62682
PublishedOrval 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-62682
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-94 · CWE-116 · CWE-1336
Original publisher date fields
published: 2026-08-19T18:16:54.520
lastModified: 2026-09-09T21:20:38.860
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON