6.1medium
Deluge Web-UI vulnerable to XSS through a crafted torrent file
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.99% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-5c8p-qhch-qhx6PYSEC-2022-256
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Deluge-web | Not-Known | CVE List |
| deluge (PyPI) | before 2.1.0 | GitHub Advisory Database, PyPA Advisory Database |
| deluge-torrent deluge | before 2.1.0 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | medium 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 | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Deluge Web-UI es vulnerable a un ataque de tipo XSS mediante un archivo torrent diseñado. Los datos de los archivos torrent no son saneados apropiadamente, ya que son interpretados directamente como HTML. Alguien que suministre al usuario un archivo torrent malicioso puede ejecutar código Javascript arbitrario en el contexto de la sesión del navegador del usuario.
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, vendor-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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3427 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5c8p-qhch-qhx6 changed 2024-09-16 | CC-BY-4.0 |
| NVD | CVE-2021-3427 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2022-256 changed 2023-11-08 | CC-BY-4.0 |