{"cve":"CVE-2024-41810","nvd":{"published":"2024-07-29T16:15:05.133","modified":"2026-06-17T07:48:16.593","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79","CWE-80"],"references":["https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33","https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2","https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33","https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2","https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html"],"products":["twisted:twisted"],"source":"nvd","synced_at":"2026-10-19T21:53:51.317825789+00:00"},"epss":{"cve":"CVE-2024-41810","score":0.01201,"percentile":0.68206,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cf56-g6w6-pqq2","url":"https://osv.dev/vulnerability/GHSA-cf56-g6w6-pqq2","summary":"Twisted vulnerable to HTML injection in HTTP redirect body","modified":"2025-11-04T17:06:06.972633Z","packages":[{"ecosystem":"PyPI","name":"twisted","purl":"pkg:pypi/twisted","ranges":["<24.7.0rc1"],"fixed":["24.7.0rc1"]}]},{"id":"PYSEC-2024-75","url":"https://osv.dev/vulnerability/PYSEC-2024-75","summary":"","modified":"2024-09-11T19:42:11.394508Z","packages":[{"ecosystem":"PyPI","name":"twisted","purl":"pkg:pypi/twisted","ranges":["<24.7.0rc1"],"fixed":["24.7.0rc1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}