Red Hat VEX
RHVEX-CVE-2024-41810
python-twisted: Reflected XSS via HTML Injection in Redirect Response
Details
A Cross-site scripting (XSS) vulnerability exists in Python-Twisted in the twisted.web.util.redirectTo function. This flaw allows an attacker to control the redirect URL, leading to reflected XSS in the HTML body of the redirect response. If exploited, a remote attacker could inject malicious HTML, causing unauthorized JavaScript execution within the victim's browser session. This issue can result in unauthorized access to the victim’s account and data or allow the attacker to perform operations on behalf of the victim.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | python-twisted | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-twisted-web | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-twisted-web | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2024-41810
- https://bugzilla.redhat.com/show_bug.cgi?id=2300497
- https://www.cve.org/CVERecord?id=CVE-2024-41810
- https://nvd.nist.gov/vuln/detail/CVE-2024-41810
- https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33
- https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2