CVE-2024-41810
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Trends
Current EPSS score: 67.84%• Percentile: 99%
Techniques & Countermeasures
- CWE-79•Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- CWE-80•Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.
Affected Systems
- PyPI•twisted
< 046a164f89a0f08d3239ecebd750360f8914df33 | < 24.7.0rc1
- twisted•twisted
≤ 24.3.0
References (6)
- https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2
- https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33
- https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-41810
- https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2024-75.yaml
- https://github.com/twisted/twisted