{"id":"PYSEC-2022-256","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":["CVE-2021-3427","GHSA-5c8p-qhch-qhx6"],"modified":"2023-11-08T04:06:07.630449Z","published":"2022-08-26T16:15:00Z","references":[{"type":"WEB","url":"https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg"},{"type":"WEB","url":"https://dev.deluge-torrent.org/ticket/3459"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5c8p-qhch-qhx6"}],"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/pypa/advisory-database/blob/main/vulns/deluge/PYSEC-2022-256.yaml"}}],"schema_version":"1.7.3"}