VDB

CVE-2024-41810

CVE-2024-41810 PUBLISHED CVSS 6.1 MEDIUM

HTML injection in HTTP redirect body

Reported by github_m · Published July 29, 2024

twisted is fixed in 24.7.0rc1 and 046a164f89a0f08d3239ecebd750360f8914df33 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
twistedPyPI24.7.0rc1, 046a164f89a0f08d3239ecebd750360f8914df33
python3-twisted+tlsAmazon Linux22.4.0-127.amzn2023.0.4
twistedtwisted24.3.0
twistedtwistedmatrix24.3.0

Risk scores

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

Affected products

VendorProductVersions
twistedtwisted<= 24.3.0
PyPITwisted0
twistedmatrixtwisted0
amazon:2023python3-twisted+tls0
twistedtwisted0
amazon:2023python3-twisted0

Timeline

  • Jul 29, 2024 CVE Published
  • Jul 30, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (16 in total, the first dated here)
  • Nov 3, 2025 CVE Updated
  • Jan 7, 2026 Security Advisory (4 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-41810
vulnetix vdb fixes CVE-2024-41810

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-41810/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›