Read the docs
TI-2024-27854 Aliases CVE-2024-41810GHSA-cf56-g6w6-pqq2

HTML injection in HTTP redirect body

Priority MEDIUM 60CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 2 fixed, 7 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01201 68th percentileScored 2026-11-07
Fix Partial twisted (PyPI): 24.7.0rc1Red Hat: 1 advisoryRed Hat: 2 fixed, 7 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
twistedtwistedup to 24.3.0—No fix listedCNA
—twisted (PyPI)before 24.7.0rc124.7.0rc1Patch availableGHSA-cf56-g6w6-pqq2
  • twisted Vendortwisted Affected up to 24.3.0 Fixed in — No fix listed CNA
  • twisted (PyPI) Vendor— Affected before 24.7.0rc1 Fixed in 24.7.0rc1 Patch available GHSA-cf56-g6w6-pqq2

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*up to 24.3.0Vulnerabletwisted
  • cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:* Versions up to 24.3.0 Vulnerable ·twisted

Remediation

  • Fix · GHSA-cf56-g6w6-pqq2 twisted (PyPI) Fixed in 24.7.0rc1 Advisory →

Red Hat 1 advisory

  • RHSA-2024:7312 Released 2024-09-27 · Red Hat rating Moderate
    Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
    • Red Hat Ansible Automation Platform 2.4 for RHEL 8 automation-controller-venv-tower-4.5.12-1.el8ap
    • Red Hat Ansible Automation Platform 2.4 for RHEL 9 automation-controller-venv-tower-4.5.12-1.el9ap

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ansible Automation Platform 1.2AffectedNo fix planned: Will not fix
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat OpenStack Platform 16.1AffectedNo fix planned: Out of support scope
Red Hat OpenStack Platform 16.2AffectedNo fix planned: Will not fix
Red Hat Storage 3AffectedNo fix planned: Out of support scope
Red Hat Ansible Automation Platform 2.4 for RHEL 8Fixed RHSA-2024:7312
Red Hat Ansible Automation Platform 2.4 for RHEL 9Fixed RHSA-2024:7312
Not affected: 2 products
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8
  • Red Hat Ansible Automation Platform 2.4 for RHEL 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-41810
  2. 2026-10-03 Alias added: GHSA-cf56-g6w6-pqq2

References

  • TI-2026-30612 Twisted: Denial of Service (DoS) in twisted.names via Crafted DNS Compression Pointer Chains CVSS 3.1HIGH 7.5
  • TI-2022-06090 Buffer Overflow in Twisted CVSS 3.1HIGH 7.5
  • TI-2022-18723 Twisted vulnerable to NameVirtualHost Host header injection CVSS 3.1MEDIUM 5.4
  • TI-2020-08165 In Twisted Web through 19.10.0, there was an HTTP request splitting vulnerability. CVSS 3.1CRITICAL 9.8
  • TI-2020-08166 In Twisted Web through 19.10.0, there was an HTTP request splitting vulnerability. CVSS 3.1CRITICAL 9.8
  • TI-2022-08614 HTTP Request Smuggling in twisted.web CVSS 3.1HIGH 8.1
See all 12 →

Sources