CVE-2021-3427
MEDIUM 6.1CVSS 3.1Deluge Web-UI vulnerable to XSS through a crafted torrent file
The Deluge Web-UI is vulnerable to XSS 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.
- Published
- 26 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-5c8p-qhch-qhx6PYSEC-2022-256
- Sources
- NVDJSONOSV GHSA-5c8p-qhch-qhx6JSONOSV PYSEC-2022-256JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | deluge-torrent | delugecpe:2.3:a:deluge-torrent:deluge:*:*:*:*:*:*:*:* |
< 2.1.0 | 2.1.0 |
| OSV | PyPI | deluge | < 2.1.0 | 2.1.0 |
References
- https://dev.deluge-torrent.org/ticket/3459 · Exploit, Issue Tracking, Patch, Vendor Advisory, WEB
- https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg · Exploit, Issue Tracking, Mailing List, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202210-07 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3427 · ADVISORY
- https://github.com/advisories/GHSA-5c8p-qhch-qhx6 · ADVISORY
- https://github.com/deluge-torrent/deluge · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/deluge/PYSEC-2022-256.yaml · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Aug 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Aug 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Aug 2022)