Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. aiohttp
  4. ›
  5. CVE-2024-27306

CVE-2024-27306: aiohttp Cross-site Scripting vulnerability on index pages for static file handling

April 18, 2024 (updated November 3, 2025)

A XSS vulnerability exists on index pages for static file handling.

References

  • github.com/advisories/GHSA-7gpw-8wmc-pm8g
  • github.com/aio-libs/aiohttp
  • github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397
  • github.com/aio-libs/aiohttp/pull/8319
  • github.com/aio-libs/aiohttp/pull/8319/files
  • github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g
  • lists.debian.org/debian-lts-announce/2025/02/msg00002.html
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2EXRGTN2WG7VZLUZ7WOXU5GQJKCPPHKP
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NWEI6NIHZ3G7DURDZVMRK7ZEFC2BTD3U
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZIVBMPEY7WWOFMC3CWXFBRQPFECV4SW3
  • nvd.nist.gov/vuln/detail/CVE-2024-27306

Code Behaviors & Features

Detect and mitigate CVE-2024-27306 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.9.4

Fixed versions

  • 3.9.4

Solution

Upgrade to version 3.9.4 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/aiohttp/CVE-2024-27306.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:56 +0000.