PT-2024-21809 · Nginx+7 · Nginx+7
Arkark
·
Published
2024-04-18
·
Updated
2025-08-21
·
CVE-2024-27306
CVSS v2.0
6.4
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
aiohttp versions prior to 3.9.4
Description
A XSS vulnerability exists on index pages for static file handling. This issue arises when using
web.static(..., show index=True), as the resulting index pages do not escape file names, making the server vulnerable to XSS attacks if users can upload files with arbitrary filenames to the static directory. Users who follow the recommendation of using a reverse proxy server, such as nginx, for serving static files are unaffected.Recommendations
For versions prior to 3.9.4, update to version 3.9.4 or later to resolve the issue.
As a temporary workaround, consider disabling the
show index parameter if unable to upgrade.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Debian
Linuxmint
Red Os
Suse
Ubuntu
Aiohttp
Nginx