CVE-2021-3427: Deluge Web-UI vulnerable to XSS through a crafted torrent file
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.6321%
CWE
Published
8/27/2022
Updated
9/16/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| deluge | pip | >= 0, < 2.1.0 | 2.1.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsanitized torrent metadata being rendered as HTML. The Web UI's JSON API (json_api.py) and template rendering components (torrenthandler.py) are primary candidates based on: 1) The vulnerability manifests in Web UI torrent display 2) Ticket #3459 references Tornado template rendering issues 3) Common XSS patterns in web applications involve improper output encoding in data presentation layers. While exact line numbers aren't available from provided sources, the component structure and vulnerability pattern strongly implicate these core data presentation functions.