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

CVE-2024-41810: Twisted vulnerable to HTML injection in HTTP redirect body

July 29, 2024 (updated September 11, 2024)

The twisted.web.util.redirectTo function contains an HTML injection vulnerability. If application code allows an attacker to control the redirect URL this vulnerability may result in Reflected Cross-Site Scripting (XSS) in the redirect response HTML body.

References

  • github.com/advisories/GHSA-cf56-g6w6-pqq2
  • github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2024-75.yaml
  • github.com/twisted/twisted
  • github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33
  • github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2
  • nvd.nist.gov/vuln/detail/CVE-2024-41810

Code Behaviors & Features

Detect and mitigate CVE-2024-41810 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 24.7.0rc1

Fixed versions

  • 24.7.0rc1

Solution

Upgrade to version 24.7.0rc1 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/Twisted/CVE-2024-41810.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:53 +0000.