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.
Cite this page
CVE-2024-27306. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2024-27306
Use CWE-79, Aiohttp vendor hub and Aiohttp product page to widen CVE-2024-27306 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-22815, CVE-2026-34516 and CVE-2026-34515 for nearby disclosures in the same product family.