VDB
Sign up
MEDIUM6.1

PYSEC-2024-75

Quick fix

PYSEC-2024-75 — twisted: upgrade to the fixed version with the command below.

pip install --upgrade 'twisted>=046a164f89a0f08d3239ecebd750360f8914df33'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/twisted
Introduced in: 0Fixed in: 046a164f89a0f08d3239ecebd750360f8914df33
Fixpip install --upgrade 'twisted>=046a164f89a0f08d3239ecebd750360f8914df33'

References