CVE-2024-41810
MEDIUM 6.1CVSS 3.1Twisted vulnerable to HTML injection in HTTP redirect body
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.
- Published
- 29 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-cf56-g6w6-pqq2PYSEC-2024-75
- Sources
- NVDJSONOSV GHSA-cf56-g6w6-pqq2JSONOSV PYSEC-2024-75JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | twisted | twistedcpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:* |
<= 24.3.0 | |
| OSV | PyPI | twisted | < 24.7.0rc1 | 24.7.0rc1 |
References
- https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33 · Patch, WEB, FIX
- https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2 · Vendor Advisory, WEB, ADVISORY
- https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-41810 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2024-75.yaml · WEB
- https://github.com/twisted/twisted · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jul 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Jul 2024)