Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
aiohttp versions before 3.9.4 are vulnerable to cross-site scripting on directory index pages generated by web.static() with show_index enabled, because file names are not escaped. An attacker who can upload files with crafted file names to the static directory can cause scripts to run in the browser of a user who views the index page. Upgrade to aiohttp 3.9.4 or later. If upgrading is not possible, disable show_index.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.1 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0067, the 52nd percentile, on 23 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 17 Apr 2024, 23:12 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:35 UTC First seen by agentprime
- 31 Oct 2026, 14:35 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-7gpw-8wmc-pm8g
- OSV: GHSA-7gpw-8wmc-pm8g
- github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g
- nvd.nist.gov/vuln/detail/CVE-2024-27306
- github.com/aio-libs/aiohttp/pull/8319
- github.com/aio-libs/aiohttp/pull/8319/files
- github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397
- github.com/aio-libs/aiohttp
- lists.debian.org/debian-lts-announce/2025/02/msg00002.html
- lists.fedoraproject.org/archives/list/[email protected]/message/2EXRGTN2WG7VZLUZ7WOXU5GQJKCPPHKP
- lists.fedoraproject.org/archives/list/[email protected]/message/NWEI6NIHZ3G7DURDZVMRK7ZEFC2BTD3U
- lists.fedoraproject.org/archives/list/[email protected]/message/ZIVBMPEY7WWOFMC3CWXFBRQPFECV4SW3