<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 01 Oct 2026 02:33:35 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-71867</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-71867</link>
      <description>&lt;p&gt;Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a single quote in a schema property name is emitted into single-quoted object keys in generated MSW mock factories without safe encoding. This permits attacker-controlled JavaScript to be evaluated when the generated mock factory is called by tests or an MSW handler, resulting in code execution in the developer, CI, test, or application environment. The affected code is packages/core/src/getters/keys.ts function getKey and MSW mock generation. This issue is fixed in version 8.21.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a single quote in a schema property name is emitted into single-quoted object keys in generated MSW mock factories without safe encoding. This permits attacker-controlled JavaScript to be evaluated when the generated mock factory is called by tests or an MSW handler, resulting in code execution in the developer, CI, test, or application environment. The affected code is packages/core/src/getters/keys.ts function getKey and MSW mock generation. This issue is fixed in version 8.21.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-71867</guid>
    </item>
    <item>
      <title>GHSA-2w86-xfrc-g85r — Orval: RCE via schema property name -&gt; computed-property-key injection in the MSW mock generator</title>
      <link>https://db.gcve.eu/vuln/ghsa-2w86-xfrc-g85r</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: orval&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;orval, when generating MSW mocks (output.mock: true), emits each schema property name as a single-quoted object key in the mock factory WITHOUT escaping the single quote. A &amp;#39; in a property name closes the key and lands in object-literal context, where an injected computed property key [expr] is evaluated when the mock factory is called (e.g. in tests / MSW handlers) -&amp;gt; RCE. The property name is a pure data field. Verified on orval 8.19.0 / Node.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;```ts
export const getOpResponseMock = (...): Thing =&amp;gt; ({&amp;#39;x&amp;#39;: 0, [require(&amp;#34;fs&amp;#34;).writeFileSync(&amp;#34;PWNED&amp;#34;,&amp;#34;&amp;#34;)]: 0, &amp;#39;y&amp;#39;: faker...., ...overrideResponse});
```&lt;/p&gt;
&lt;p&gt;Safe elsewhere: the zod schema double-quotes the property name; the TS interface key is a type (DoS only). Distinct from orval&amp;#39;s $ref / route-path / server-url / zod-default findings.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;reproduce.sh (+ make_spec.py) attached: a property name `x&amp;#39;: 0, [require(&amp;#34;fs&amp;#34;).writeFileSync(&amp;#34;&amp;lt;marker&amp;gt;&amp;#34;,&amp;#34;&amp;#34;)]: 0, &amp;#39;y` -&amp;gt; mock object literal; calling the mock factory writes the marker. Verified on 8.19.0.&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;JavaScript / OS command execution (via child_process) on the machine of anyone who generates orval mocks from an attacker controlled spec and runs them (tests / MSW).&lt;/p&gt;
&lt;p&gt;### Suggested fix&lt;/p&gt;
&lt;p&gt;Escape the property name for the JS string key (JSON.stringify), and never interpolate a raw property name adjacent to [ ] in object-literal position.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: orval&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;orval, when generating MSW mocks (output.mock: true), emits each schema property name as a single-quoted object key in the mock factory WITHOUT escaping the single quote. A &amp;#39; in a property name closes the key and lands in object-literal context, where an injected computed property key [expr] is evaluated when the mock factory is called (e.g. in tests / MSW handlers) -&amp;gt; RCE. The property name is a pure data field. Verified on orval 8.19.0 / Node.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;```ts
export const getOpResponseMock = (...): Thing =&amp;gt; ({&amp;#39;x&amp;#39;: 0, [require(&amp;#34;fs&amp;#34;).writeFileSync(&amp;#34;PWNED&amp;#34;,&amp;#34;&amp;#34;)]: 0, &amp;#39;y&amp;#39;: faker...., ...overrideResponse});
```&lt;/p&gt;
&lt;p&gt;Safe elsewhere: the zod schema double-quotes the property name; the TS interface key is a type (DoS only). Distinct from orval&amp;#39;s $ref / route-path / server-url / zod-default findings.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;reproduce.sh (+ make_spec.py) attached: a property name `x&amp;#39;: 0, [require(&amp;#34;fs&amp;#34;).writeFileSync(&amp;#34;&amp;lt;marker&amp;gt;&amp;#34;,&amp;#34;&amp;#34;)]: 0, &amp;#39;y` -&amp;gt; mock object literal; calling the mock factory writes the marker. Verified on 8.19.0.&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;JavaScript / OS command execution (via child_process) on the machine of anyone who generates orval mocks from an attacker controlled spec and runs them (tests / MSW).&lt;/p&gt;
&lt;p&gt;### Suggested fix&lt;/p&gt;
&lt;p&gt;Escape the property name for the JS string key (JSON.stringify), and never interpolate a raw property name adjacent to [ ] in object-literal position.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-2w86-xfrc-g85r</guid>
    </item>
  </channel>
</rss>
