<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T20:52:28.791290+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/fkie_cve-2026-72716</id>
    <title>fkie_cve-2026-72716</title>
    <updated>2026-09-28T20:52:28.809016+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a ${...} expression or backtick in a query parameter default is emitted into a module-level template literal emitted by zod schema generation without safe encoding. This permits attacker-controlled JavaScript to be evaluated when the generated zod schema module is imported, resulting in code execution in the developer, CI, test, or application environment. The affected code is packages/zod/src/index.ts function formatDefaultValue. This issue is fixed in version 8.21.0.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-72716"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-p4cg-3328-rvfg</id>
    <title>GHSA-p4cg-3328-rvfg — Orval: Import-time RCE via query-parameter default -&gt; zod module-level template literal</title>
    <updated>2026-09-28T20:52:28.809077+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: orval</p>
<p>### Summary</p>
<p>Orval's zod schema generation emits the **query-parameter** `default` value as a module-level template literal
(`export const …Default = `&lt;default&gt;`;`) without escaping `${` or the backtick. A default of the form
`v${&lt;code&gt;}w` injects a live JavaScript expression evaluated when the generated zod schema module is
imported, executing attacker-controlled code at import — no request or function call needed. Verified
on Orval 8.19.0; survives default OpenAPI validation.</p>
<p>### Details</p>
<p>```ts
export const …Default = `v${globalThis.ORVPWN()}w`;   // ${...} = arbitrary JS expression, runs at import
```</p>
<p>Malicious input: a query parameter with a `default` of `v${&lt;attacker JS&gt;}w`. `${...}` permits any JS expression.</p>
<p>Note: this is one of several `default`-bearing positions that reach the same unescaped zod
template-literal sink; a single fix (escape `default` values) closes all of them, and a CNA may choose
to consolidate the related reports.</p>
<p>### PoC</p>
<p>`reproduce.sh` (+ `make_spec.py`) attached: generates the zod schema with default validation, bundles
it, imports it, and shows a marker written at import. Verified on 8.19.0.</p>
<p>### Impact</p>
<p>Code execution at import in any application that imports a zod schema module generated from an
attacker-controlled or attacker-influenced OpenAPI description.</p>
<p>### Suggested fix</p>
<p>Emit `default` values via a proper string-literal encoder (JSON.stringify, or escape backtick and `${`
if a template literal must be used); never interpolate a spe…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-p4cg-3328-rvfg"/>
  </entry>
</feed>
