
Cloud Vulnerability DB
A community-led vulnerabilities database
The twisted.web.util.redirectTo function in Twisted, an event-based framework for internet applications supporting Python 3.6+, contains an HTML injection vulnerability identified as CVE-2024-41810. The vulnerability was discovered and disclosed on July 29, 2024, affecting versions up to and including 24.3.0. 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 (GitHub Advisory).
The vulnerability exists in the redirectTo function which generates an HTTP 302 Redirect response. The function reflects the destination URL in the HTML body without any output encoding, built for exceptional cases where the browser doesn't properly handle the redirect. The CVSS v3.1 base score is 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD).
If successfully exploited, the vulnerability allows malicious JavaScript to run in the context of the victim's session. This can lead to unauthorized access/modification to victim's account and information associated with it, or allow for unauthorized operations to be performed within the context of the victim's session. The attack is specifically possible in Firefox browser, while other browsers will display an error message and not render the HTML body (GitHub Advisory).
The vulnerability has been fixed in version 24.7.0rc1. Users are advised to upgrade to this version or later to mitigate the risk. The fix involves HTML-escaping the provided URL in the fallback response body returned by the redirectTo function (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."