Vulnerability
CVE-2024-27306
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected. Other users can disable `show_index` if unable to upgrade.
56 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
AZL-43357
CVE-2024-27306 affecting package python-aiohttp 3.6.2-3
-
AZL-43372
CVE-2024-27306 affecting package python-aiohttp 3.6.2-3
- CGA-2468-9f95-mr9h
- CGA-2rg8-fcwm-2j75
- CGA-3gjp-35gr-3v84
- CGA-45fm-5r7r-938h
- CGA-4cpm-jhwx-wf34
- CGA-5xcx-3r64-jq93
- CGA-6p5x-mvpc-c6g8
- CGA-6wjh-g2j4-26jj
- CGA-7phq-gcjh-m62w
- CGA-7qvj-m56w-m3fm
- CGA-92g8-r9mp-5wr3
- CGA-9cfw-7hg6-6g2m
- CGA-9g92-xmgq-r5x5
- CGA-9j52-8h85-ggj9
- CGA-c2ph-9v2r-6692
- CGA-chpm-6qvh-5pv9
- CGA-cr6r-mw5g-3838
- CGA-g4v6-f38r-jwj8
- CGA-hq96-59rf-46rv
- CGA-hwvh-v762-hwg4
- CGA-hxx9-q5rm-53vf
- CGA-m8mj-r63j-2552
- CGA-p55m-84q5-f5pf
- CGA-p6jg-962q-j4fj
- CGA-ph4r-4v3h-x92h
- CGA-q4gj-h366-3m97
- CGA-qhp7-5jqf-qf6g
- CGA-qvr6-7rqp-jgxw
- CGA-qxfq-gfx4-8g32
- CGA-r5xx-fq83-f7jc
- CGA-r9f3-gfrq-p3p2
- CGA-rf82-w8hr-57vw
- CGA-wfw5-2p8g-vf39
- CGA-wh52-gp5f-h9gv
- CGA-x2h3-9cqm-h7m3
- CGA-x6rh-hpmv-h436
- CGA-xv55-r4q4-hfc5
-
DEBIAN-CVE-2024-27306
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using…
-
DLA-4041-1
python-aiohttp - security update
-
GHSA-7gpw-8wmc-pm8g
aiohttp Cross-site Scripting vulnerability on index pages for static file handling
-
OESA-2025-1250
python-aiohttp security update
-
OESA-2025-1271
python-aiohttp security update
-
OESA-2025-1272
python-aiohttp security update
-
PYSEC-2026-1102
aiohttp Cross-site Scripting vulnerability on index pages for static file handling
-
RHSA-2024:3781
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
-
RHSA-2024:5662
Red Hat Security Advisory: Satellite 6.15.3 Security Update
-
RHSA-2025:1335
Red Hat Security Advisory: RHUI 4.11 security, bugfix, and enhancement update
-
SUSE-SU-2024:1866-1
Security update for python-aiohttp
-
SUSE-SU-2024:4396-1
Security update for python-aiohttp
-
SUSEVEX-CVE-2024-27306
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using…
-
UBUNTU-CVE-2024-27306
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using…
-
USN-7642-1
python-aiohttp vulnerabilities
-
openSUSE-SU-2024:13965-1
python310-aiohttp-3.9.5-2.1 on GA media
-
openSUSE-SU-2026:11467-1
python313-aiohttp-3.14.3-1.1 on GA media
References
- https://github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397
- https://github.com/aio-libs/aiohttp/pull/8319
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2EXRGTN2WG7VZLUZ7WOXU5GQJKCPPHKP/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NWEI6NIHZ3G7DURDZVMRK7ZEFC2BTD3U/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZIVBMPEY7WWOFMC3CWXFBRQPFECV4SW3/
- https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html