{"id":"CVE-2023-5631","state":"PUBLISHED","title":"Stored XSS vulnerability in Roundcube","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.","publishedAt":"2023-10-18T14:51:18.443Z","updatedAt":"2025-10-21T23:05:34.074Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"ESET"},"assigner":"ESET","products":["Roundcube Roundcubemail"],"affected":[{"vendor":"Roundcube","product":"Roundcubemail","defaultStatus":"unaffected","versions":[{"version":"1.6.0","status":"affected","lessThan":"1.6.3","versionType":"semver"},{"version":"1.5.0","status":"affected","lessThan":"1.5.4","versionType":"semver"},{"version":"1.4.0","status":"affected","lessThan":"1.5.14","versionType":"semver"},{"version":"1.6.4","status":"unaffected"},{"version":"1.5.5","status":"unaffected"},{"version":"1.5.15","status":"unaffected"}],"repo":"https://github.com/roundcube/roundcubemail"}],"references":["https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613","https://github.com/roundcube/roundcubemail/releases/tag/1.6.4","https://github.com/roundcube/roundcubemail/releases/tag/1.5.5","https://github.com/roundcube/roundcubemail/releases/tag/1.4.15","https://github.com/roundcube/roundcubemail/issues/9168","https://roundcube.net/news/2023/10/16/security-update-1.6.4-released","https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d","https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15","https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079","https://www.debian.org/security/2023/dsa-5531","https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html","http://www.openwall.com/lists/oss-security/2023/11/01/1","http://www.openwall.com/lists/oss-security/2023/11/01/3","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/","http://www.openwall.com/lists/oss-security/2023/11/17/2","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-5631"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/5xxx/CVE-2023-5631.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-5631","state":"PUBLISHED","datePublished":"2023-10-18T14:51:18.443Z","dateUpdated":"2025-10-21T23:05:34.074Z","assignerShortName":"ESET","assignerOrgId":"4a9b9929-2450-4021-b7b9-469a0255b215","dateReserved":"2023-10-18T06:50:57.504Z"},"containers":{"cna":{"title":"Stored XSS vulnerability in Roundcube","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Roundcube","product":"Roundcubemail","defaultStatus":"unaffected","versions":[{"version":"1.6.0","status":"affected","lessThan":"1.6.3","versionType":"semver"},{"version":"1.5.0","status":"affected","lessThan":"1.5.4","versionType":"semver"},{"version":"1.4.0","status":"affected","lessThan":"1.5.14","versionType":"semver"},{"version":"1.6.4","status":"unaffected"},{"version":"1.5.5","status":"unaffected"},{"version":"1.5.15","status":"unaffected"}],"repo":"https://github.com/roundcube/roundcubemail"}],"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"}],"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":{"shortName":"ESET","orgId":"4a9b9929-2450-4021-b7b9-469a0255b215","dateUpdated":"2023-11-17T15:06:13.428Z"},"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"}],"exploits":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Actively used in the wild.\n\n<br>"}],"value":"Actively used in the wild."}],"impacts":[{"capecId":"CAPEC-592","descriptions":[{"lang":"en","value":"CAPEC-592 Stored XSS"}]}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"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"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T08:07:32.513Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-5631","tags":["government-resource"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-5631","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2023-11-15T16:39:21.592115Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2023-10-26","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-5631"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-21T23:05:34.074Z"},"timeline":[{"time":"2023-10-26T00:00:00.000Z","lang":"en","value":"CVE-2023-5631 added to CISA KEV"}]}]}}}