{"api_version":"1","generated_at":"2026-04-23T15:10:40+00:00","cve":"CVE-2023-5631","urls":{"html":"https://cve.report/CVE-2023-5631","api":"https://cve.report/api/cve/CVE-2023-5631.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-5631","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-5631"},"summary":{"title":"Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability","description":"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.","state":"PUBLIC","assigner":"security@eset.com","published_at":"2023-10-18 15:15:00","updated_at":"2023-11-17 15:15:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/roundcube/roundcubemail/issues/9168","name":"https://github.com/roundcube/roundcubemail/issues/9168","refsource":"MISC","tags":[],"title":"XSS with svg use tag on RC 1.5.3 · Issue #9168 · roundcube/roundcubemail · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/roundcube/roundcubemail/releases/tag/1.6.4","name":"https://github.com/roundcube/roundcubemail/releases/tag/1.6.4","refsource":"MISC","tags":[],"title":"Release Roundcube Webmail 1.6.4 · roundcube/roundcubemail · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"429"},{"url":"https://www.debian.org/security/2023/dsa-5531","name":"https://www.debian.org/security/2023/dsa-5531","refsource":"MISC","tags":[],"title":"Debian -- Security Information -- DSA-5531-1 roundcube","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079","name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079","refsource":"MISC","tags":[],"title":"#1054079 - roundcube: CVE-2023-5631: cross-site scripting (XSS) vulnerability in handling of SVG in HTML messages - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2023/11/01/1","name":"http://www.openwall.com/lists/oss-security/2023/11/01/1","refsource":"MISC","tags":[],"title":"oss-security - CVE-2023-5631: XSS vulnerability in Roundcube webmail","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613","name":"https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613","refsource":"MISC","tags":[],"title":"Fix cross-site scripting (XSS) vulnerability in handling of SVG in HT… · roundcube/roundcubemail@6ee6e7a · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"429"},{"url":"https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d","name":"https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d","refsource":"MISC","tags":[],"title":"Fix cross-site scripting (XSS) vulnerability in handling of SVG in HT… · roundcube/roundcubemail@41756cc · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://roundcube.net/news/2023/10/16/security-update-1.6.4-released","name":"https://roundcube.net/news/2023/10/16/security-update-1.6.4-released","refsource":"MISC","tags":[],"title":"Security update 1.6.4 released","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html","name":"https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html","refsource":"MISC","tags":[],"title":"[SECURITY] [DLA 3630-1] roundcube security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15","name":"https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15","refsource":"MISC","tags":[],"title":"Security updates 1.5.5 and 1.4.15 released","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2023/11/17/2","name":"http://www.openwall.com/lists/oss-security/2023/11/17/2","refsource":"","tags":[],"title":"oss-security - CVE-2023-37580 (and others): XSS vulnerabilities in Zimbra\n Collaboration Suite","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2023/11/01/3","name":"http://www.openwall.com/lists/oss-security/2023/11/01/3","refsource":"MISC","tags":[],"title":"oss-security - Re: CVE-2023-5631: XSS vulnerability in Roundcube\n webmail","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/roundcube/roundcubemail/releases/tag/1.5.5","name":"https://github.com/roundcube/roundcubemail/releases/tag/1.5.5","refsource":"MISC","tags":[],"title":"Release Roundcube Webmail 1.5.5 · roundcube/roundcubemail · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"429"},{"url":"https://github.com/roundcube/roundcubemail/releases/tag/1.4.15","name":"https://github.com/roundcube/roundcubemail/releases/tag/1.4.15","refsource":"MISC","tags":[],"title":"Release Roundcube Webmail 1.4.15 · roundcube/roundcubemail · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"429"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 39 Update: roundcubemail-1.6.4-1.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-5631","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5631","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"5631","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"5631","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"12.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"5631","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"roundcube","cpe5":"webmail","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":{"cve_year":"2023","cve_id":"5631","cve":"CVE-2023-5631","vendorProject":"Roundcube","product":"Webmail","vulnerabilityName":"Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability","dateAdded":"2023-10-26","shortDescription":"Roundcube Webmail contains a persistent cross-site scripting (XSS) vulnerability that allows a remote attacker to run malicious JavaScript code.","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","dueDate":"2023-11-16","knownRansomwareCampaignUse":"Unknown","notes":"https://roundcube.net/news/2023/10/16/security-update-1.6.4-released, https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15 ;  https://nvd.nist.gov/vuln/detail/CVE-2023-5631","cwes":"CWE-79","catalogVersion":"2026.04.22","updated_at":"2026-04-22 20:03:10"},"epss":{"cve_year":"2023","cve_id":"5631","cve":"CVE-2023-5631","epss":"0.844270000","percentile":"0.993290000","score_date":"2026-04-22","updated_at":"2026-04-23 00:03:16"},"legacy_qids":[{"cve":"CVE-2023-5631","qid":"285195","title":"Fedora Security Update for roundcubemail (FEDORA-2023-735ee6d4e1)"},{"cve":"CVE-2023-5631","qid":"6000269","title":"Debian Security Update for roundcube (DLA 3630-1)"},{"cve":"CVE-2023-5631","qid":"6000308","title":"Debian Security Update for roundcube (DSA 5531-1)"},{"cve":"CVE-2023-5631","qid":"730959","title":"Roundcube Webmail SVG Document Persistent Cross-Site Scripting (XSS) Vulnerability"}]},"source_records":{"cve_program":{"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/"}]},"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"}]}},"nvd":{"publishedDate":"2023-10-18 15:15:00","lastModifiedDate":"2023-11-17 15:15:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*","versionStartIncluding":"1.6.0","versionEndExcluding":"1.6.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*","versionStartIncluding":"1.5.0","versionEndExcluding":"1.5.5","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*","versionEndExcluding":"1.4.15","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}