<?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>Tue, 29 Sep 2026 02:12:45 +0000</lastBuildDate>
    <item>
      <title>GHSA-45p5-v273-3qqr — Vert.x-Web vulnerable to Stored Cross-site Scripting in directory listings via file names</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-45p5-v273-3qqr</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: io.vertx:vertx-web&lt;/p&gt;
&lt;p&gt;# Description&lt;/p&gt;
&lt;p&gt;- In the `StaticHandlerImpl#sendDirectoryListing(...)` method under the `text/html` branch, file and directory names are directly embedded into the `href`, `title`, and link text without proper HTML escaping.
- As a result, in environments where an attacker can control file names, injecting HTML/JavaScript is possible. Simply accessing the directory listing page will trigger an XSS.
- Affected Code:
    - File: `vertx-web/src/main/java/io/vertx/ext/web/handler/impl/StaticHandlerImpl.java`
    - Lines:
        - 709–713: `normalizedDir` is constructed without escaping
        - 714–731: `&amp;lt;li&amp;gt;&amp;lt;a ...&amp;gt;` elements insert file names directly into attributes and body without escaping
        - 744: parent directory name construction
        - 746–751: `{directory}`, `{parent}`, and `{files}` are inserted into the HTML template without escaping&lt;/p&gt;
&lt;p&gt;# Reproduction Steps&lt;/p&gt;
&lt;p&gt;1. Prerequisites:
    - Directory listing is enabled using `StaticHandler`  
      (e.g., `StaticHandler.create(&amp;#34;public&amp;#34;).setDirectoryListing(true)`)
    - The attacker has the ability to create arbitrary file names under a public directory (e.g., via upload functionality or a shared directory)&lt;/p&gt;
&lt;p&gt;2. Create a malicious file name (example for Unix-based OS):
    - Create an empty file in `public/` with one of the following names:
      - `&amp;lt;img src=x onerror=alert(&amp;#39;XSS&amp;#39;)&amp;gt;.txt`
      - Or attribute injection: `evil&amp;#34; onmouseover=&amp;#34;alert(&amp;#39;XSS&amp;#39;)&amp;#34;.txt`
    - Example:
      ```bash
      mkdir -p public
      printf…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: io.vertx:vertx-web&lt;/p&gt;
&lt;p&gt;# Description&lt;/p&gt;
&lt;p&gt;- In the `StaticHandlerImpl#sendDirectoryListing(...)` method under the `text/html` branch, file and directory names are directly embedded into the `href`, `title`, and link text without proper HTML escaping.
- As a result, in environments where an attacker can control file names, injecting HTML/JavaScript is possible. Simply accessing the directory listing page will trigger an XSS.
- Affected Code:
    - File: `vertx-web/src/main/java/io/vertx/ext/web/handler/impl/StaticHandlerImpl.java`
    - Lines:
        - 709–713: `normalizedDir` is constructed without escaping
        - 714–731: `&amp;lt;li&amp;gt;&amp;lt;a ...&amp;gt;` elements insert file names directly into attributes and body without escaping
        - 744: parent directory name construction
        - 746–751: `{directory}`, `{parent}`, and `{files}` are inserted into the HTML template without escaping&lt;/p&gt;
&lt;p&gt;# Reproduction Steps&lt;/p&gt;
&lt;p&gt;1. Prerequisites:
    - Directory listing is enabled using `StaticHandler`  
      (e.g., `StaticHandler.create(&amp;#34;public&amp;#34;).setDirectoryListing(true)`)
    - The attacker has the ability to create arbitrary file names under a public directory (e.g., via upload functionality or a shared directory)&lt;/p&gt;
&lt;p&gt;2. Create a malicious file name (example for Unix-based OS):
    - Create an empty file in `public/` with one of the following names:
      - `&amp;lt;img src=x onerror=alert(&amp;#39;XSS&amp;#39;)&amp;gt;.txt`
      - Or attribute injection: `evil&amp;#34; onmouseover=&amp;#34;alert(&amp;#39;XSS&amp;#39;)&amp;#34;.txt`
    - Example:
      ```bash
      mkdir -p public
      printf…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-45p5-v273-3qqr</guid>
    </item>
  </channel>
</rss>
