{
    "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"
            }
        ]
    }
}