{"id":"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.","aliases":["GHSA-5c8p-qhch-qhx6","PYSEC-2022-256"],"modified":"2026-05-30T17:27:01.526138Z","published":"2022-08-26T16:15:08.803Z","related":["openSUSE-SU-2024:12322-1"],"references":[{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202210-07"},{"type":"REPORT","url":"https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg"},{"type":"FIX","url":"https://dev.deluge-torrent.org/ticket/3459"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/deluge-torrent/deluge","events":[{"introduced":"0"},{"fixed":"20efcfd34583a999e16463c300705c9a5b669f9d"}],"database_specific":{"source":"CPE_RANGE","extracted_events":[{"introduced":"0"},{"fixed":"2.1.0"}],"cpe":"cpe:2.3:a:deluge-torrent:deluge:*:*:*:*:*:*:*:*"}}],"versions":["deluge-2.1.0.dev0","deluge-2.0.5","deluge-2.0.4","deluge-2.0.3","deluge-2.0.2","deluge-2.0.1","deluge-2.0.0","deluge-2.0b1","deluge-2.0.0b1","deluge-2.0.0.dev0","deluge-0.5.4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3427.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}