Advisory

PYSEC-2024-75

Also known as: CVE-2024-41810, GHSA-cf56-g6w6-pqq2

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2024-07-29 16:15 UTC
Modified
2024-09-11 19:42 UTC

Affected packages and fixes

twisted

PyPI · All systems

Affected

  • introduced 0, fixed 24.7.0rc1 (ecosystem)

Fixed versions

24.7.0rc1

Fix

  • Fixed version 24.7.0rc1
    pip install --upgrade twisted==24.7.0rc1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences