Skip to main content
VulnerabilityPublished Updated

CVE-2024-41810: The twisted.web.util.redirectTo function contains an HTML injection vulnerability

Affects twistedSource GCVE Database

0
Compare
Authoritative record:CVE-2024-41810· Medium 6.1

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

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jul 2024

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=nobleOther threatsAffected
  • <24.3.0-1ubuntu0.1
Fixed in
  • 24.3.0-1ubuntu0.1
Ubuntu 22.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=jammyOther threatsAffected
  • <22.1.0-2ubuntu2.5
Fixed in
  • 22.1.0-2ubuntu2.5
Ubuntu 20.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=focalOther threatsAffected
  • <18.9.0-11ubuntu0.20.04.4
Fixed in
  • 18.9.0-11ubuntu0.20.04.4
Ubuntu Pro 18.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <17.9.0-2ubuntu0.3+esm1
Fixed in
  • 17.9.0-2ubuntu0.3+esm1
Ubuntu Pro 16.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=esm-infra/xenialOther threatsAffected
  • 16.0.0~pre1-1 – 16.0.0~pre1-3
  • <16.0.0-1ubuntu0.4+esm2
4 affected builds
Fixed in
  • 16.0.0-1ubuntu0.4+esm2
Ubuntu Pro 14.04 LTStwistedpkg:deb/ubuntu/twisted?arch=source&distro=trusty/esmOther threatsAffected
  • <13.2.0-1ubuntu1.2+esm3
Fixed in
  • 13.2.0-1ubuntu1.2+esm3

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.

References

Community reviews

Loading reviews…