GitHub Advisoryadvisory · PyPI
GHSA-5c8p-qhch-qhx6 Deluge Web-UI vulnerable to XSS through a crafted torrent file
MEDIUM
Official page ↗
- Aliases
- CVE-2021-3427
- Ecosystem
- PyPI
- Packages
- deluge
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2022-09-01
Affected packages
• PyPI deluge: < 2.1.0 → fixed in 2.1.0
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.
Related
Alias · CVE (1)
- CVE-2021-3427 The Deluge Web-UI is vulnerable to XSS through a crafted torrent file. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3427 advisory
- https://dev.deluge-torrent.org/ticket/3459 web
- 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
- https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg web
- https://security.gentoo.org/glsa/202210-07 web