ADVISORIES

Vulnerability

CVE-2024-41810

Twisted is an event-based framework for internet applications, supporting Python 3.6+. 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. This vulnerability is fixed in 24.7.0rc1.

23 advisories report this vulnerability, across 9 ecosystems.

Advisories in PyPI

  • GHSA-cf56-g6w6-pqq2

    Twisted vulnerable to HTML injection in HTTP redirect body

    Moderate CVE-2024-41810 PyPI Updated 4 November 2025
  • PYSEC-2024-75

    Twisted is an event-based framework for internet applications, supporting Python 3.6+. The `twisted.web.util.redirectTo` function contains an HTML injection vulnerability. If application code allows an attacker to…

    CVE-2024-41810 PyPI Updated 11 September 2024

References