<?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://vulnerability.circl.lu</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>Fri, 02 Oct 2026 20:05:01 +0000</lastBuildDate>
    <item>
      <title>GHSA-8fgc-7cc6-rx7x — webpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behavior</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-8fgc-7cc6-rx7x</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: webpack&lt;/p&gt;
&lt;p&gt;### Summary
When `experiments.buildHttp` is enabled, webpack’s HTTP(S) resolver (`HttpUriPlugin`) can be bypassed to fetch resources from **hosts outside `allowedUris`** by using crafted URLs that include **userinfo** (`username:password@host`). If `allowedUris` enforcement relies on a **raw string prefix check** (e.g., `uri.startsWith(allowed)`), a URL that *looks* allow-listed can pass validation while the actual network request is sent to a different authority/host after URL parsing. This is a **policy/allow-list bypass** that enables **build-time SSRF behavior** (outbound requests from the build machine to internal-only endpoints, depending on network access) and **untrusted content inclusion** (the fetched response is treated as module source and bundled). In my reproduction, the internal response was also persisted in the buildHttp cache.&lt;/p&gt;
&lt;p&gt;Reproduced on:
- webpack version: **5.104.0**
- Node version: **v18.19.1**&lt;/p&gt;
&lt;p&gt;### Details
**Root cause (high level):** `allowedUris` validation can be performed on the raw URI string, while the actual request destination is determined later by parsing the URL (e.g., `new URL(uri)`), which interprets the **authority** as the part after `@`.&lt;/p&gt;
&lt;p&gt;Example crafted URL:
- `http://127.0.0.1:9000@127.0.0.1:9100/secret.js`&lt;/p&gt;
&lt;p&gt;If the allow-list is `[&amp;#34;http://127.0.0.1:9000&amp;#34;]`, then:
- Raw string check:  
  `crafted.startsWith(&amp;#34;http://127.0.0.1:9000&amp;#34;)` → **true**
- URL parsing (WHAT `new URL()` will contact):  
  `origin` → `http://127.0.0.1:9100` (hos…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: webpack&lt;/p&gt;
&lt;p&gt;### Summary
When `experiments.buildHttp` is enabled, webpack’s HTTP(S) resolver (`HttpUriPlugin`) can be bypassed to fetch resources from **hosts outside `allowedUris`** by using crafted URLs that include **userinfo** (`username:password@host`). If `allowedUris` enforcement relies on a **raw string prefix check** (e.g., `uri.startsWith(allowed)`), a URL that *looks* allow-listed can pass validation while the actual network request is sent to a different authority/host after URL parsing. This is a **policy/allow-list bypass** that enables **build-time SSRF behavior** (outbound requests from the build machine to internal-only endpoints, depending on network access) and **untrusted content inclusion** (the fetched response is treated as module source and bundled). In my reproduction, the internal response was also persisted in the buildHttp cache.&lt;/p&gt;
&lt;p&gt;Reproduced on:
- webpack version: **5.104.0**
- Node version: **v18.19.1**&lt;/p&gt;
&lt;p&gt;### Details
**Root cause (high level):** `allowedUris` validation can be performed on the raw URI string, while the actual request destination is determined later by parsing the URL (e.g., `new URL(uri)`), which interprets the **authority** as the part after `@`.&lt;/p&gt;
&lt;p&gt;Example crafted URL:
- `http://127.0.0.1:9000@127.0.0.1:9100/secret.js`&lt;/p&gt;
&lt;p&gt;If the allow-list is `[&amp;#34;http://127.0.0.1:9000&amp;#34;]`, then:
- Raw string check:  
  `crafted.startsWith(&amp;#34;http://127.0.0.1:9000&amp;#34;)` → **true**
- URL parsing (WHAT `new URL()` will contact):  
  `origin` → `http://127.0.0.1:9100` (hos…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-8fgc-7cc6-rx7x</guid>
    </item>
  </channel>
</rss>
