{"id":"CVE-2021-3427","aliases":["DEBIAN-CVE-2021-3427","EUVD-2022-0075","GHSA-5c8p-qhch-qhx6","PYSEC-2022-256","UBUNTU-CVE-2021-3427","openSUSE-SU-2024:12322-1"],"status":"published","title":"Deluge Web-UI vulnerable to XSS through a crafted torrent file","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00987,"percentile":0.62898,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-08-26T00:00:00Z","modified":"2026-11-03T21:17:01Z","fixes":[{"ecosystem":"PyPI","package":"deluge","fixed_in":["2.1.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"deluge","fixed_in":["2.1.1-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"deluge","fixed_in":["2.1.1-4"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"deluge","fixed_in":["2.1.1-3.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-4","2.1.1-1","2.1.1-2","2.1.1-3","2.1.1-4","2.1.1-5","2.1.2~dev0+20230529-1","2.1.2~dev0+20230529-2","2.1.2~dev0+20230529-3","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","2.1.2~dev0+20240219-1","2.1.2~dev0+20240219-2","2.1.2~dev0+20240219-3","2.1.2~dev0+20240910-1","2.1.2~dev0+20240910-2","2.1.2~dev0+20240910-3","2.1.2~dev0+20240910-4","2.1.2~dev0+20240910-5","2.1.2~dev0+20240910-6","2.1.2~dev0+20250301-1","2.1.2~dev0+20250301-2","2.2.0-1","2.2.0-2","2.2.0-3","2.2.1~dev0+20250824-1","2.2.1~dev0+20250824-2","2.2.1~dev0+20250824-3","2.2.1~dev0+20250824-4","2.2.1~dev0+20260307-1","2.2.1~dev0+20260307-2"]},{"source":"osv","ecosystem":"Debian:13","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-4"}]}]},{"source":"osv","ecosystem":"PyPI","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"versions":["2.0.0","2.0.0b2.dev346","2.0.0b2.dev347","2.0.0b2.dev355","2.0.2","2.0.3","2.0.4","2.0.5"]},{"source":"osv","ecosystem":"PyPI","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"versions":["2.0.0","2.0.0b2.dev346","2.0.0b2.dev347","2.0.0b2.dev355","2.0.2","2.0.3","2.0.4","2.0.5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.12-1ubuntu1","1.3.12-1ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.15-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-1","2.0.3-1.1","2.0.3-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-3.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"deluge","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"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"deluge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-3.1"}]}]}],"products":[{"vendor":"deluge-torrent","product":"deluge"}],"references":[{"url":"https://dev.deluge-torrent.org/ticket/3459","tags":["x_transferred","Exploit","Issue Tracking","Patch","Vendor Advisory","fix","web"]},{"url":"https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg","tags":["x_transferred","Exploit","Issue Tracking","Mailing List","Third Party Advisory","report","web"]},{"url":"https://security.gentoo.org/glsa/202210-07","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3427","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/deluge/PYSEC-2022-256.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5c8p-qhch-qhx6","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3427","tags":["advisory"]},{"url":"https://github.com/deluge-torrent/deluge","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-3427","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3427","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2021-3427","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-3427","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.","status":"published","published":"2022-08-26T00:00:00Z","modified":"2024-08-03T16:53:17.608Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:04.360272Z"}],"euvd":[{"id":"EUVD-2022-0075","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.","status":"published","published":"2022-08-26T00:00:00Z","modified":"2024-08-03T16:53:17Z","updated_at":"2026-11-03T03:25:13.052236Z"}],"ghsa":[{"id":"GHSA-5c8p-qhch-qhx6","title":"Deluge Web-UI vulnerable to XSS through a crafted torrent file","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.","status":"published","published":"2022-08-27T00:00:44Z","modified":"2024-09-16T14:29:06Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:02.773864Z"}],"nvd":[{"id":"CVE-2021-3427","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.","status":"published","published":"2022-08-26T16:15:08.803Z","modified":"2026-06-17T04:05:04.24Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:06.906968Z"}],"osv":[{"id":"CVE-2021-3427","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.","status":"published","published":"2022-08-26T16:15:08.803Z","modified":"2026-10-24T10:30:34.727207136Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:20.13324Z"},{"id":"DEBIAN-CVE-2021-3427","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.","status":"published","published":"2022-08-26T16:15:08.803Z","modified":"2026-10-23T18:03:49.691693539Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"GHSA-5c8p-qhch-qhx6","title":"Deluge Web-UI vulnerable to XSS through a crafted torrent file","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.","status":"published","published":"2022-08-27T00:00:44Z","modified":"2024-09-16T14:59:49.690231Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:38.213481Z"},{"id":"UBUNTU-CVE-2021-3427","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.","status":"published","published":"2022-08-26T16:15:00Z","modified":"2026-11-03T21:17:01.424251185Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T21:44:03.981358Z"},{"id":"openSUSE-SU-2024:12322-1","title":"deluge-2.1.1-3.1 on GA media","description":"These are all security issues fixed in the deluge-2.1.1-3.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:31:52.232512Z","updated_at":"2026-11-02T16:58:35.485255Z"},{"id":"PYSEC-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.","status":"published","published":"2022-08-26T16:15:00Z","modified":"2023-11-08T04:06:07.630449Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
