{"id":"CVE-2021-3427","aliases":["CVE-2021-3427","GHSA-5c8p-qhch-qhx6","PYSEC-2022-256"],"related":[],"kind":"vulnerability","state":"published","title":"Deluge Web-UI vulnerable to XSS through a crafted torrent file","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Deluge Web-UI es vulnerable a un ataque de tipo XSS mediante un archivo torrent diseñado. Los datos de los archivos torrent no son saneados apropiadamente, ya que son interpretados directamente como HTML. Alguien que suministre al usuario un archivo torrent malicioso puede ejecutar código Javascript arbitrario en el contexto de la sesión del navegador del usuario.","source":"nvd"}],"published":"2022-08-26T00:00:00.000Z","modified":"2026-06-17T04:05:04.240Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"Not-Known","status":"affected"}],"product":"Deluge-web","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"PyPI","package":"deluge","purl":"pkg:pypi/deluge","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.0"}],"vendor":"deluge-torrent","product":"deluge","cpe":"cpe:2.3:a:deluge-torrent:deluge:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"PyPI","package":"deluge","purl":"pkg:pypi/deluge","source":"pysec"}],"references":[{"url":"https://dev.deluge-torrent.org/ticket/3459","tags":["exploit","issue-tracking","patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg","tags":["exploit","issue-tracking","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://security.gentoo.org/glsa/202210-07","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3427","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-5c8p-qhch-qhx6","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/deluge-torrent/deluge","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/deluge/PYSEC-2022-256.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3427","url":"https://www.cve.org/CVERecord?id=CVE-2021-3427","licence":"CVE Terms of Use","modified":"2024-08-03T16:53:17.608Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5c8p-qhch-qhx6","url":"https://github.com/advisories/GHSA-5c8p-qhch-qhx6","licence":"CC-BY-4.0","modified":"2024-09-16T14:59:49.690Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3427","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3427","licence":"Public domain","modified":"2026-06-17T04:05:04.240Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-256","url":"https://osv.dev/vulnerability/PYSEC-2022-256","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:07.630Z"}],"updatedAt":"2026-11-25T22:58:07.795Z","epss":{"score":0.00987,"percentile":0.63411,"date":"2026-12-01T12:00:22.000Z"}}