{"id":"UBUNTU-CVE-2021-3427","details":"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.","modified":"2025-10-24T04:49:11Z","published":"2022-08-26T16:15:00Z","upstream":["CVE-2021-3427"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3427"},{"type":"REPORT","url":"https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3427"}],"affected":[{"package":{"name":"deluge","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/deluge@1.3.12-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.12-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.12-1ubuntu1","binary_name":"deluge"},{"binary_name":"deluge-common","binary_version":"1.3.12-1ubuntu1"},{"binary_version":"1.3.12-1ubuntu1","binary_name":"deluge-console"},{"binary_name":"deluge-gtk","binary_version":"1.3.12-1ubuntu1"},{"binary_version":"1.3.12-1ubuntu1","binary_name":"deluge-torrent"},{"binary_name":"deluge-web","binary_version":"1.3.12-1ubuntu1"},{"binary_name":"deluge-webui","binary_version":"1.3.12-1ubuntu1"},{"binary_name":"deluged","binary_version":"1.3.12-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3427.json"}},{"package":{"name":"deluge","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/deluge@1.3.15-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.15-2"],"ecosystem_specific":{"binaries":[{"binary_name":"deluge","binary_version":"1.3.15-2"},{"binary_name":"deluge-common","binary_version":"1.3.15-2"},{"binary_name":"deluge-console","binary_version":"1.3.15-2"},{"binary_version":"1.3.15-2","binary_name":"deluge-gtk"},{"binary_name":"deluge-torrent","binary_version":"1.3.15-2"},{"binary_name":"deluge-web","binary_version":"1.3.15-2"},{"binary_name":"deluge-webui","binary_version":"1.3.15-2"},{"binary_name":"deluged","binary_version":"1.3.15-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3427.json"}},{"package":{"name":"deluge","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/deluge@2.0.3-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-1","2.0.3-1.1","2.0.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"deluge","binary_version":"2.0.3-2"},{"binary_version":"2.0.3-2","binary_name":"deluge-common"},{"binary_name":"deluge-console","binary_version":"2.0.3-2"},{"binary_name":"deluge-gtk","binary_version":"2.0.3-2"},{"binary_name":"deluge-web","binary_version":"2.0.3-2"},{"binary_name":"deluged","binary_version":"2.0.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3427.json"}},{"package":{"name":"deluge","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/deluge@2.0.3-3.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-3.1"],"ecosystem_specific":{"binaries":[{"binary_name":"deluge","binary_version":"2.0.3-3.1"},{"binary_name":"deluge-common","binary_version":"2.0.3-3.1"},{"binary_name":"deluge-console","binary_version":"2.0.3-3.1"},{"binary_version":"2.0.3-3.1","binary_name":"deluge-gtk"},{"binary_name":"deluge-web","binary_version":"2.0.3-3.1"},{"binary_name":"deluged","binary_version":"2.0.3-3.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3427.json"}},{"package":{"name":"deluge","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/deluge@2.1.2~dev0+20240121-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2~dev0+20230529-4","2.1.2~dev0+20230827-1","2.1.2~dev0+20230918-1","2.1.2~dev0+20231127-1","2.1.2~dev0+20240121-1"],"ecosystem_specific":{"binaries":[{"binary_name":"deluge","binary_version":"2.1.2~dev0+20240121-1"},{"binary_name":"deluge-common","binary_version":"2.1.2~dev0+20240121-1"},{"binary_name":"deluge-console","binary_version":"2.1.2~dev0+20240121-1"},{"binary_name":"deluge-gtk","binary_version":"2.1.2~dev0+20240121-1"},{"binary_name":"deluge-web","binary_version":"2.1.2~dev0+20240121-1"},{"binary_name":"deluged","binary_version":"2.1.2~dev0+20240121-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3427.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}