{"api_version":"1","generated_at":"2026-07-23T12:38:06+00:00","cve":"CVE-2021-3427","urls":{"html":"https://cve.report/CVE-2021-3427","api":"https://cve.report/api/cve/CVE-2021-3427.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3427","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3427"},"summary":{"title":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-08-26 16:15:00","updated_at":"2022-10-28 20:09:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://dev.deluge-torrent.org/ticket/3459","name":"https://dev.deluge-torrent.org/ticket/3459","refsource":"MISC","tags":[],"title":"#3459 (XSS via malicious .torrent file)\n     – Deluge","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg","name":"https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg","refsource":"MISC","tags":[],"title":"[Deluge] #3460: XSS via malicious .torrent file","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202210-07","name":"GLSA-202210-07","refsource":"GENTOO","tags":[],"title":"Deluge: Cross-Site Scripting (GLSA 202210-07) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3427","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3427","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3427","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"deluge-torrent","cpe5":"deluge","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-3427","qid":"710644","title":"Gentoo Linux Deluge Cross-Site Scripting Vulnerability (GLSA 202210-07)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-3427","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"Deluge-web","version":{"version_data":[{"version_affected":"=","version_value":"Not-Known"}]}}]}}]}},"references":{"reference_data":[{"url":"https://dev.deluge-torrent.org/ticket/3459","refsource":"MISC","name":"https://dev.deluge-torrent.org/ticket/3459"},{"url":"https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg","refsource":"MISC","name":"https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg"},{"url":"https://security.gentoo.org/glsa/202210-07","refsource":"MISC","name":"https://security.gentoo.org/glsa/202210-07"}]}},"nvd":{"publishedDate":"2022-08-26 16:15:00","lastModifiedDate":"2022-10-28 20:09:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:deluge-torrent:deluge:*:*:*:*:*:*:*:*","versionEndExcluding":"2.1.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3427","Ordinal":"203271","Title":"CVE-2021-3427","CVE":"CVE-2021-3427","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3427","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}