{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-5631",
        "assignerOrgId": "4a9b9929-2450-4021-b7b9-469a0255b215",
        "state": "PUBLISHED",
        "assignerShortName": "ESET",
        "dateReserved": "2023-10-18T06:50:57.504Z",
        "datePublished": "2023-10-18T14:51:18.443Z",
        "dateUpdated": "2024-08-02T08:07:32.513Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Roundcubemail",
                    "repo": "https://github.com/roundcube/roundcubemail",
                    "vendor": "Roundcube",
                    "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"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "Matthieu Faou"
                },
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "Denys Klymenko"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": " Aleksander Machniak "
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "\n\n<div>Roundcube 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.<br></div><div><br></div>\n\n"
                        }
                    ],
                    "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"
                }
            ],
            "exploits": [
                {
                    "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"
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-592",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-592 Stored XSS"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "4a9b9929-2450-4021-b7b9-469a0255b215",
                "shortName": "ESET",
                "dateUpdated": "2023-10-18T14:51:18.443Z"
            },
            "references": [
                {
                    "url": "https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613"
                },
                {
                    "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.6.4"
                },
                {
                    "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.5.5"
                },
                {
                    "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.4.15"
                },
                {
                    "url": "https://github.com/roundcube/roundcubemail/issues/9168"
                },
                {
                    "url": "https://roundcube.net/news/2023/10/16/security-update-1.6.4-released"
                },
                {
                    "url": "https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d"
                },
                {
                    "url": "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"
                },
                {
                    "url": "https://www.debian.org/security/2023/dsa-5531"
                },
                {
                    "url": "https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html"
                },
                {
                    "url": "http://www.openwall.com/lists/oss-security/2023/11/01/1"
                },
                {
                    "url": "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/"
                },
                {
                    "url": "http://www.openwall.com/lists/oss-security/2023/11/17/2"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Stored XSS vulnerability in Roundcube",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T08:07:32.513Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.6.4",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.5.5",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.4.15",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/roundcube/roundcubemail/issues/9168",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://roundcube.net/news/2023/10/16/security-update-1.6.4-released",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.debian.org/security/2023/dsa-5531",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "http://www.openwall.com/lists/oss-security/2023/11/01/1",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "http://www.openwall.com/lists/oss-security/2023/11/01/3",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "http://www.openwall.com/lists/oss-security/2023/11/17/2",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}