CVE-2024-41810 | HTML injection in HTTP redirect body

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.

Published: 2024-07-29 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-41810 is rated Moderate Risk (40.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.11%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-41810

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 67.84% 1.11% -66.73%
2 2026-04-02 66.80% 67.84% +1.05%
3 2026-03-29 66.80%

Full EPSS history (31 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-41810

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]

Weakness enumeration for CVE-2024-41810

GitHub Security Advisory for CVE-2024-41810

GHSA-cf56-g6w6-pqq2 · Severity: medium · Ecosystem: pip — Twisted vulnerable to HTML injection in HTTP redirect body

OS Trackers for CVE-2024-41810

vendor priority summary link
debian not yet assigned CVE-2024-41810 not yet assigned priority: Debian including 1 source packages (twisted), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-41810
redhat medium https://access.redhat.com/security/cve/CVE-2024-41810
suse medium CVE-2024-41810 severity moderate: SUSE including 278 source package names (amazon/suse-sles-15-sp1-chost-byos-v20210304-hvm-ssd-x86_64, amazon/suse-sles-15-sp1-chost-byos-v20220127-hvm-ssd-x86_64, …), 469 product×package rows across 81 product lines (Image SLES15-SP3-BYOS-Azure, Image SLES15-SP3-HPC-BYOS-Azure, … (81 product lines)): Fixed 238, Known Affected 231. https://www.suse.com/security/cve/CVE-2024-41810/
ubuntu medium CVE-2024-41810 medium priority: Ubuntu including 1 source packages (twisted), 8 status rows across 8 suites (bionic, focal, jammy, noble, oracular, trusty, upstream, xenial): released 7, not-affected 1. https://ubuntu.com/security/CVE-2024-41810

Affected software / configurations for CVE-2024-41810

Vendor Product Version Raw CPE
twisted twisted <= 24.3.0 cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*

References for CVE-2024-41810

cvelogic Threat Intelligence