<?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-10-31T19:13:25.325722+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-110910</id>
    <title>fkie_cve-2026-110910</title>
    <updated>2026-10-31T19:13:25.337098+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p>### Summary</p>
<p>`qs.stringify` with `allowEmptyArrays: true` writes the key of an empty array without encoding it, even though keys are encoded by default. A key that contains `&amp;` (or the configured `delimiter`), `=`, or `#` therefore becomes query string syntax instead of data, so a caller-supplied key name can add parameters to the serialized query string, or cut it short.</p>
<p>### Details</p>
<p>In `lib/stringify.js`, the `allowEmptyArrays` branch returns `adjustedPrefix + '[]'` early, before the code that passes every other key through `encoder` and `formatter`. So `{ "x&amp;k=v": ["1"] }` serializes as `x%26k%3Dv%5B0%5D=1`, but `{ "x&amp;k=v": [] }` serializes as `x&amp;k=v[]`. The early return applies at any depth (`{ "a": { "b&amp;k=v": [] } }` gives `a[b&amp;k=v][]`), under every `arrayFormat`, with `allowDots`, and with a custom `encoder`, which is never called for that key. With `encode: false` or `encodeValuesOnly: true`, keys are intentionally left unencoded on every path; those configurations are not affected.</p>
<p>#### PoC</p>
<p>```js</p>
<p>var qs = require("qs");</p>
<p>var query = qs.stringify({ q: "hi", "x&amp;apiKey=evil&amp;y": [] }, { allowEmptyArrays: true });</p>
<p>// "q=hi&amp;x&amp;apiKey=evil&amp;y[]"</p>
<p>qs.parse(query);</p>
<p>// { q: "hi", x: "", apiKey: "evil", y: [""] }</p>
<p>qs.stringify({ "x#": [], z: "1" }, { allowEmptyArrays: true });</p>
<p>// "x#[]&amp;z=1": in a URL, everything after "#" becomes the fragment</p>
<p>```</p>
<p>#### Fix</p>
<p>Applied in 234d505 on `main` and released as v6.17.0, and backported to v6.16.2, v6.15…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-110910"/>
  </entry>
</feed>
