HTML injection in HTTP redirect body
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| twisted | twisted | up to 24.3.0 | — | No fix listed | CNA |
| — | twisted (PyPI) | before 24.7.0rc1 | 24.7.0rc1 | Patch available | GHSA-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
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 ModerateRed 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 1.2 | Affected | No fix planned: Will not fix |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 16.1 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 16.2 | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Fixed | RHSA-2024:7312 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Fixed | 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
- 2026-10-02 Threatist record created from CVE-2024-41810
- 2026-10-03 Alias added: GHSA-cf56-g6w6-pqq2
References
Advisory 2
More Twisted vulnerabilities
- 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
Sources
- CVE-2024-41810 · CVE Program
- CVE-2024-41810 · NVD
- FIRST EPSS
- GHSA-cf56-g6w6-pqq2 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-41810 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences