CVE-2021-3427
Deluge 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
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.
- Record
CVE-2021-3427- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-3427- Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2022-0075 No score
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.
- Record
EUVD-2022-0075- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5c8p-qhch-qhx6
5.3
Deluge Web-UI vulnerable to XSS through a crafted torrent file
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.
- Record
GHSA-5c8p-qhch-qhx6- CVSS 4.0
- 5.3 Medium
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 - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
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.
- Record
CVE-2021-3427- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-3427
6.1
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.
- Record
DEBIAN-CVE-2021-3427- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-5c8p-qhch-qhx6
5.3
Deluge Web-UI vulnerable to XSS through a crafted torrent file
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.
- Record
GHSA-5c8p-qhch-qhx6- CVSS 4.0
- 5.3 Medium
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 - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-3427
6.1
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.
- Record
UBUNTU-CVE-2021-3427- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-03
OSVopenSUSE-SU-2024:12322-1 No score
deluge-2.1.1-3.1 on GA media
These are all security issues fixed in the deluge-2.1.1-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12322-1- Updated
- 2026-11-02
OSVPYSEC-2022-256 No score
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.
- Record
PYSEC-2022-256- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
delugePyPI |
before 2.1.0 | 2.1.0 |
delugeDebian:12 |
All versions, plus listed versions 2.0.3-42.1.1-12.1.1-22.1.1-32.1.1-4 Show 29 moreShow less2.1.1-52.1.2~dev0+20230529-12.1.2~dev0+20230529-22.1.2~dev0+20230529-32.1.2~dev0+20230529-42.1.2~dev0+20230827-12.1.2~dev0+20230918-12.1.2~dev0+20231127-12.1.2~dev0+20240121-12.1.2~dev0+20240219-12.1.2~dev0+20240219-22.1.2~dev0+20240219-32.1.2~dev0+20240910-12.1.2~dev0+20240910-22.1.2~dev0+20240910-32.1.2~dev0+20240910-42.1.2~dev0+20240910-52.1.2~dev0+20240910-62.1.2~dev0+20250301-12.1.2~dev0+20250301-22.2.0-12.2.0-22.2.0-32.2.1~dev0+20250824-12.2.1~dev0+20250824-22.2.1~dev0+20250824-32.2.1~dev0+20250824-42.2.1~dev0+20260307-12.2.1~dev0+20260307-2 |
None known |
delugeDebian:13 |
before 2.1.1-4 | 2.1.1-4 |
delugeDebian:14 |
before 2.1.1-4 | 2.1.1-4 |
delugePyPI |
before 2.1.0, plus listed versions 2.0.02.0.0b2.dev3462.0.0b2.dev3472.0.0b2.dev3552.0.22.0.32.0.42.0.5 |
2.1.0 |
delugeUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.3.12-1ubuntu11.3.12-1ubuntu1+esm1 |
None known |
delugeUbuntu:18.04:LTS |
All versions, plus listed versions 1.3.15-2 |
None known |
delugeUbuntu:20.04:LTS |
All versions, plus listed versions 2.0.3-12.0.3-1.12.0.3-2 |
None known |
delugeUbuntu:22.04:LTS |
All versions, plus listed versions 2.0.3-3.1 |
None known |
delugeUbuntu:24.04:LTS |
All versions, plus listed versions 2.1.2~dev0+20230529-42.1.2~dev0+20230827-12.1.2~dev0+20230918-12.1.2~dev0+20231127-12.1.2~dev0+20240121-1 |
None known |
delugeopenSUSE:Tumbleweed |
before 2.1.1-3.1 | 2.1.1-3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3427 is a medium vulnerability (CVSS 6.1) in Deluge-torrent Deluge, published August 26, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.96%, the 61st percentile. Fixed in deluge 2.1.0.