deluge-torrent/deluge · Security
Deluge Web-UI vulnerable to XSS through a crafted torrent file
- GHSA ID
- GHSA-5c8p-qhch-qhx6
- CVE ID
- CVE-2021-3427
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v4
- 5.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Description
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3427 ↗
- https://dev.deluge-torrent.org/ticket/3459 ↗
- https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/deluge/PYSEC-2022-256.yaml ↗
- https://github.com/advisories/GHSA-5c8p-qhch-qhx6 ↗
- https://security.gentoo.org/glsa/202210-07 ↗