Advisory

GHSA-5c8p-qhch-qhx6

Also known as: CVE-2021-3427, PYSEC-2022-256

Summary

Deluge Web-UI vulnerable to XSS through a crafted torrent file

Details

The Deluge Web-UI is vulnerable to cross-site scripting through a crafted torrent file. The the data from torrent files is not properly sanitised as it's interpreted directly as HTML. Someone who supplies the user with a malicious torrent file can execute arbitrary Javascript code in the context of the user's browser session.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-08-27 00:00 UTC
Modified
2024-09-16 14:59 UTC

Affected packages and fixes

deluge

PyPI · All systems

Affected

  • introduced 0, fixed 2.1.0 (ecosystem)

Fixed versions

2.1.0

Fix

  • Fixed version 2.1.0
    pip install --upgrade deluge==2.1.0

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences