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

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/files
  • github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g
  • 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. Learn more about Dependency Scanning →

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 Wed, 14 May 2025 12:14:55 +0000.