Live threats

All CVEs / Twisted

CVE-2024-41810Twisted

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Jul 29, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-80
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Twisted.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI twisted < 24.7.0rc1 24.7.0rc1 pip install "twisted>=24.7.0rc1"
PyPI twisted < 24.7.0rc1 24.7.0rc1 pip install "twisted>=24.7.0rc1"

Per OSV / GitHub Advisories (GHSA-cf56-g6w6-pqq2, PYSEC-2024-75). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
twistedtwisted≤ 24.3.0

Official sources

References

Links published by the sources. Open them with care.