{"id":"CVE-2024-41810","summary":"HTML injection in HTTP redirect body","details":"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.","aliases":["GHSA-cf56-g6w6-pqq2","PYSEC-2024-75"],"modified":"2026-08-12T03:30:22.869030093Z","published":"2024-07-29T15:41:40.289Z","related":["SUSE-SU-2024:2732-1","SUSE-SU-2024:2757-1","SUSE-SU-2024:2860-1","SUSE-SU-2024:2880-1","openSUSE-SU-2024:14236-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79","CWE-80"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41810.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41810.json"},{"type":"ADVISORY","url":"https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41810"},{"type":"FIX","url":"https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/twisted/twisted","events":[{"introduced":"0"},{"fixed":"046a164f89a0f08d3239ecebd750360f8914df33"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:twisted:twisted:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"24.3.0"}]}}],"versions":["before-black"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41810.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}