CVE-2024-41810

NameCVE-2024-41810
DescriptionTwisted 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3970-1, DSA-5797-1
Debian Bugs1077680

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
twisted (PTS)bullseye20.3.0-7+deb11u1vulnerable
bullseye (security)20.3.0-7+deb11u2fixed
bookworm, bookworm (security)22.4.0-4+deb12u1fixed
sid, trixie24.11.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
twistedsourcebullseye20.3.0-7+deb11u2DLA-3970-1
twistedsourcebookworm22.4.0-4+deb12u1DSA-5797-1
twistedsource(unstable)24.7.0-11077680

Notes

https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2
Merge commit: https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33 (twisted-24.7.0rc1)

Search for package or bug name: Reporting problems