CVE-2024-41810: The twisted.web.util.redirectTo function contains an HTML injection vulnerability
Affects twistedSource GCVE Database
Not known to be exploited · public detection template (Nuclei) · CVSS 6.1 Medium · fixed in 13.2.0-1ubuntu1.2+esm3 : update twisted when convenient.
Data as of 24 Nov 2026, 19:39 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.1 |
|---|
- Patch
- Available – fixed in 13.2.0-1ubuntu1.2+esm3, 16.0.0-1ubuntu0.4+esm2, 17.9.0-2ubuntu0.3+esm1 +3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Jul 2024
Detectable: evidence found.
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Ubuntu Pro 14.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=trusty/esmOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and should be applied by updating to the fixed package versions provided by Ubuntu for each supported release, including 24.3.0-1ubuntu0.1 for Ubuntu 24.04 LTS and corresponding versions for earlier releases. Ubuntu Pro users have access to extended security maintenance fixes. Standard system updates will apply the necessary patches. No additional action beyond applying these updates is required.
Description
The twisted.web.util.redirectTo function in the Twisted framework contains an HTML injection vulnerability that can lead to reflected cross-site scripting (XSS) if an attacker controls the redirect URL. This vulnerability affects multiple Ubuntu package versions of Twisted and is fixed in version 24.7.0rc1 and later. The vulnerability has a medium severity rating with a CVSS score of 6.1. Standard system updates or applying the provided patches will remediate the issue.