{"id":"GHSA-5c8p-qhch-qhx6","summary":"Deluge Web-UI vulnerable to XSS through a crafted torrent file","details":"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.","aliases":["CVE-2021-3427","PYSEC-2022-256"],"modified":"2024-09-16T14:48:36.917305Z","published":"2022-08-27T00:00:44Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-09-01T22:19:29Z","nvd_published_at":"2022-08-26T16:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3427"},{"type":"WEB","url":"https://dev.deluge-torrent.org/ticket/3459"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5c8p-qhch-qhx6"},{"type":"PACKAGE","url":"https://github.com/deluge-torrent/deluge"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/deluge/PYSEC-2022-256.yaml"},{"type":"WEB","url":"https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202210-07"}],"affected":[{"package":{"name":"deluge","ecosystem":"PyPI","purl":"pkg:pypi/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-5c8p-qhch-qhx6/GHSA-5c8p-qhch-qhx6.json"}}],"schema_version":"1.9.0","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":"CVSS_V4","score":"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"}]}