{
  "id": "CVE-2023-5631",
  "url": "https://spydr.io/cve/CVE-2023-5631",
  "published": "2023-10-18T15:15:08.727Z",
  "modified": "2026-06-17T06:48:58.673Z",
  "score": 5.4,
  "severity": "medium",
  "cvss_version": "3.1",
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
  "score_source": "NVD",
  "epss": 0.75873,
  "epss_percentile": 0.99516,
  "exploited": true,
  "kev": {
    "added": "2023-10-26",
    "due": "2023-11-16",
    "action": "Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.",
    "ransomware": "Unknown",
    "name": "Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability",
    "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"
  },
  "ssvc_exploitation": "active",
  "vendors": [
    "Roundcube"
  ],
  "products": [
    "Roundcubemail"
  ],
  "cwes": [
    "CWE-79"
  ],
  "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 to load arbitrary JavaScript code.",
  "status": "Analyzed",
  "score_type": "Primary",
  "scores": {
    "cvss_v40": null,
    "cvss_v31": 5.4,
    "cvss_v30": null
  },
  "references": [
    {
      "url": "http://www.openwall.com/lists/oss-security/2023/11/01/1",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ]
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2023/11/01/3",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ]
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2023/11/17/2",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079",
      "tags": [
        "Mailing List",
        "Patch"
      ]
    },
    {
      "url": "https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://github.com/roundcube/roundcubemail/issues/9168",
      "tags": [
        "Exploit",
        "Issue Tracking"
      ]
    },
    {
      "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.4.15",
      "tags": [
        "Release Notes"
      ]
    },
    {
      "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.5.5",
      "tags": [
        "Release Notes"
      ]
    },
    {
      "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.6.4",
      "tags": [
        "Release Notes"
      ]
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/",
      "tags": [
        "Mailing List"
      ]
    },
    {
      "url": "https://roundcube.net/news/2023/10/16/security-update-1.6.4-released",
      "tags": [
        "Release Notes"
      ]
    },
    {
      "url": "https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15",
      "tags": [
        "Release Notes"
      ]
    },
    {
      "url": "https://www.debian.org/security/2023/dsa-5531",
      "tags": [
        "Mailing List"
      ]
    },
    {
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-5631",
      "tags": [
        "US Government Resource"
      ]
    }
  ],
  "nvd_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5631",
  "covered_in": [],
  "attribution": [
    {
      "source": "NVD",
      "url": "https://nvd.nist.gov",
      "notice": "This product uses data from the NVD API but is not endorsed or certified by the NVD."
    },
    {
      "source": "CISA KEV",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "notice": "Known exploited vulnerabilities from the CISA KEV catalog."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss",
      "notice": "Exploit prediction scores from FIRST EPSS."
    }
  ]
}
