6.1

CVE-2024-27306: aiohttp vulnerable to XSS on index pages for static file handling

Modified
AliasesMGASA-2024-0235SUSE-SU-2024:1866-1SUSE-SU-2024:4396-1
Published 18-04-2024Last modified 03-11-2025

Vulnerability summary

CVE-2024-27306 is a medium (CVSS 6.1) vulnerability in aio-libs aiohttp. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 51.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.67%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 8

Timeline

  1. 18-04-2024
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.67%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.67% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard19 products
  • checkov< 3.0.34-r1
  • dask-gateway< 2024.1.0-r4
  • dask-gateway-server< 2024.1.0-r4
  • kserve< 0.13.1-r3
  • kserve-agent< 0.13.1-r3
Wolfi15 products
  • checkov< 3.0.34-r1
  • dask-gateway< 2024.1.0-r4
  • dask-gateway-server< 2024.1.0-r4
  • kserve< 0.13.1-r3
  • kserve-agent< 0.13.1-r3
Suse7 products
  • python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP2< 3.6.0-150100.3.24.1
  • python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP3< 3.6.0-150100.3.24.1
  • python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 3.9.3-150400.10.21.1 | < 3.6.0-150100.3.24.1
  • python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP5< 3.6.0-150100.3.24.1
  • python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP6< 3.6.0-150100.3.24.1
Opensuse3 products
  • python-aiohttp&distro=openSUSE Leap 15.5< 3.9.3-150400.10.21.1 | < 3.6.0-150100.3.24.1
  • python-aiohttp&distro=openSUSE Leap 15.6< 3.9.3-150400.10.21.1
  • python-aiohttp&distro=openSUSE Tumbleweed< 3.9.5-2.1
Aio-libs1 product
Aiohttp1 product
Debian1 product
  • python-aiohttpAll versions (No fix recorded) | < 3.9.5-1
Fedoraproject1 product
Mageia1 product
  • python-aiohttp< 3.8.3-3.1.mga9
PyPI1 product
  • aiohttp< 3.9.4
Ubuntu1 product
  • python-aiohttp< 3.0.1-1ubuntu0.1~esm5 | < 3.8.1-4ubuntu0.2+esm1 | < 3.9.1-1ubuntu0.1+esm1

11 vendors · 51 products

References

26 links
Show all 26 references