{"answers":{"affected":"1 open source package ship an affected version, including roundcube. It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2023-5631 in the wild since at least 26 Oct 2023.","fix":"Upgrade roundcube to a fixed version for your release line: 1.4.15, 1.5.5 or 1.6.4. US federal agencies must fix it by 16 Nov 2023.","what":"CVE-2023-5631 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 18 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-5631 and fix it if it is affected.\n\nWhat it is: CVE-2023-5631 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 18 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2023-5631 in the wild since at least 26 Oct 2023.\n\nAffected packages and fixed versions:\n- roundcube (Bitnami): affected all versions; fixed in 1.4.15, 1.5.5, 1.6.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-5631/ (Markdown: https://insights.sbomify.com/CVE-2023-5631/index.md)","id":"CVE-2023-5631","markdown":"https://insights.sbomify.com/CVE-2023-5631/index.md","name":"CVE-2023-5631","record":{"aliases":["BIT-roundcube-2023-5631","CVE-2023-46267","DEBIAN-CVE-2023-5631","DLA-3630-1","DSA-5531-1","GHSA-qf8f-27cp-gw76","UBUNTU-CVE-2023-5631","openSUSE-SU-2023:0345-1","openSUSE-SU-2024:13365-1"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Roundcube webmail","requires_auth":"none","summary":"Remote attackers can execute arbitrary JavaScript in victim browsers via crafted SVG emails, potentially leading to account takeover.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ESET","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"webmail","vendor":"roundcube"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Bitnami","SUSE:Package Hub 15 SP5","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":true,"headline":"Roundcube Webmail Persistent Cross-Site Scripting (XSS)","id":"CVE-2023-5631","indexable":true,"kev":{"dateAdded":"2023-10-26","dueDate":"2023-11-16","knownRansomwareCampaignUse":"Unknown","product":"Webmail","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Roundcube","vulnerabilityName":"Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability"},"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","roundcube:webmail"],"type":"xss","year":"2023"},"n_packages":4,"n_references":15,"next":{"headline":"Unconditionally adding an event to the epoll causes excessive CPU consumption","id":"CVE-2023-5632"},"packages":[{"ecosystem":"Bitnami","fixed":["1.4.15","1.5.5","1.6.4"],"introduced":["0","1.5.0","1.6.0"],"last_affected":[],"package":"roundcube","purl":"pkg:bitnami/roundcube","source":"BIT-roundcube-2023-5631"},{"ecosystem":"SUSE:Package Hub 15 SP5","fixed":["1.6.4-bp155.2.6.1"],"introduced":["0"],"last_affected":[],"package":"roundcubemail","purl":"pkg:rpm/suse/roundcubemail\u0026distro=SUSE%20Package%20Hub%2015%20SP5","source":"openSUSE-SU-2023:0345-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.6.4-bp155.2.6.1"],"introduced":["0"],"last_affected":[],"package":"roundcubemail","purl":"pkg:rpm/opensuse/roundcubemail\u0026distro=openSUSE%20Leap%2015.5","source":"openSUSE-SU-2023:0345-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.6.4-1.1"],"introduced":["0"],"last_affected":[],"package":"roundcubemail","purl":"pkg:rpm/opensuse/roundcubemail\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13365-1"}],"prev":{"headline":"Supply chain in Trio E-Series Ethernet Data Radio","id":"CVE-2023-5630"},"products":["Roundcubemail"],"published":"2023-10-18","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Roundcube"]},"summary":"Remote attackers can execute arbitrary JavaScript in victim browsers via crafted SVG emails, potentially leading to account takeover.","url":"https://insights.sbomify.com/CVE-2023-5631/"}