{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-5631",
        "ASSIGNER": "security@eset.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "\nRoundcube before 1.4.15, 1.5.x before 1.5.5, and 1.6.x before 1.6.4 allows stored XSS via an HTML e-mail message with a crafted SVG document because of program/lib/Roundcube/rcube_washtml.php behavior. This could allow a remote attacker\n\nto load arbitrary JavaScript code.\n\n\n\n\n\n\n\n"
            }
        ]
    },
    "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": "Roundcube",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Roundcubemail",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "not down converted",
                                            "x_cve_json_5_version_data": {
                                                "versions": [
                                                    {
                                                        "lessThan": "1.6.3",
                                                        "status": "affected",
                                                        "version": "1.6.0",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "lessThan": "1.5.4",
                                                        "status": "affected",
                                                        "version": "1.5.0",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "lessThan": "1.5.14",
                                                        "status": "affected",
                                                        "version": "1.4.0",
                                                        "versionType": "semver"
                                                    },
                                                    {
                                                        "status": "unaffected",
                                                        "version": "1.6.4"
                                                    },
                                                    {
                                                        "status": "unaffected",
                                                        "version": "1.5.5"
                                                    },
                                                    {
                                                        "status": "unaffected",
                                                        "version": "1.5.15"
                                                    }
                                                ],
                                                "defaultStatus": "unaffected"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613",
                "refsource": "MISC",
                "name": "https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613"
            },
            {
                "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.6.4",
                "refsource": "MISC",
                "name": "https://github.com/roundcube/roundcubemail/releases/tag/1.6.4"
            },
            {
                "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.5.5",
                "refsource": "MISC",
                "name": "https://github.com/roundcube/roundcubemail/releases/tag/1.5.5"
            },
            {
                "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.4.15",
                "refsource": "MISC",
                "name": "https://github.com/roundcube/roundcubemail/releases/tag/1.4.15"
            },
            {
                "url": "https://github.com/roundcube/roundcubemail/issues/9168",
                "refsource": "MISC",
                "name": "https://github.com/roundcube/roundcubemail/issues/9168"
            },
            {
                "url": "https://roundcube.net/news/2023/10/16/security-update-1.6.4-released",
                "refsource": "MISC",
                "name": "https://roundcube.net/news/2023/10/16/security-update-1.6.4-released"
            },
            {
                "url": "https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d",
                "refsource": "MISC",
                "name": "https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d"
            },
            {
                "url": "https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15",
                "refsource": "MISC",
                "name": "https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15"
            },
            {
                "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079",
                "refsource": "MISC",
                "name": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079"
            },
            {
                "url": "https://www.debian.org/security/2023/dsa-5531",
                "refsource": "MISC",
                "name": "https://www.debian.org/security/2023/dsa-5531"
            },
            {
                "url": "https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html",
                "refsource": "MISC",
                "name": "https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html"
            },
            {
                "url": "http://www.openwall.com/lists/oss-security/2023/11/01/1",
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2023/11/01/1"
            },
            {
                "url": "http://www.openwall.com/lists/oss-security/2023/11/01/3",
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2023/11/01/3"
            },
            {
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/",
                "refsource": "MISC",
                "name": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/"
            },
            {
                "url": "http://www.openwall.com/lists/oss-security/2023/11/17/2",
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2023/11/17/2"
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.1.0-dev"
    },
    "source": {
        "discovery": "EXTERNAL"
    },
    "exploit": [
        {
            "lang": "en",
            "supportingMedia": [
                {
                    "base64": false,
                    "type": "text/html",
                    "value": "\n\nActively used in the wild.\n\n<br>"
                }
            ],
            "value": "\nActively used in the wild.\n\n\n"
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "Matthieu Faou"
        },
        {
            "lang": "en",
            "value": "Denys Klymenko"
        },
        {
            "lang": "en",
            "value": " Aleksander Machniak "
        }
    ],
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.1,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.1"
            }
        ]
    }
}