What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: aio-libs aiohttp 3.9.4; Pypi Aiohttp 3.9.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27306 or the next vulnerability affects your stack