{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.6.19"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "1.7.0"
                  },
                  {
                    "fixed": "1.7.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "1381bf5d7e4c595560acf0228a2e68e471cefbd8"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "636c296fe5f524e6e4e05c24e87df1d75658b3c2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "1.6.19",
                "range": [
                  {
                    "fixed": "29beae7282135a3cd59a3945bd33ee8f904d6217"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "1.7.4",
                "range": [
                  {
                    "fixed": "0d05c37a6e565b1ff0f3a4472081f20a64d569a1"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "29beae7282135a3cd59a3945bd33ee8f904d6217"
            },
            {
              "introduced": "df9effa186f81d676962b941da4ebab5e05c3088"
            },
            {
              "fixed": "0d05c37a6e565b1ff0f3a4472081f20a64d569a1"
            },
            {
              "fixed": "1381bf5d7e4c595560acf0228a2e68e471cefbd8"
            },
            {
              "fixed": "636c296fe5f524e6e4e05c24e87df1d75658b3c2"
            }
          ],
          "repo": "https://github.com/roundcube/roundcubemail",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "AISLE",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137943.json"
  },
  "details": "Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains a cross-site scripting vulnerability in compose_part_body() in program/actions/mail/compose.php, which converts a text/enriched message part to HTML for the HTML editor without sanitizing the result. Attackers can send a crafted email with a text/enriched part so that script injected into the HTML editor runs in the victim's session when the victim replies to, forwards, or edits the message.",
  "id": "CVE-2026-137943",
  "modified": "2026-11-27T14:46:09.584601186Z",
  "published": "2026-11-27T13:45:22.791Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137943.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/roundcube/roundcubemail"
    },
    {
      "type": "FIX",
      "url": "https://github.com/roundcube/roundcubemail/commit/1381bf5d7e4c595560acf0228a2e68e471cefbd8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/roundcube/roundcubemail/commit/636c296fe5f524e6e4e05c24e87df1d75658b3c2"
    },
    {
      "type": "WEB",
      "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.6.19"
    },
    {
      "type": "WEB",
      "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.7.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137943"
    },
    {
      "type": "WEB",
      "url": "https://roundcube.net/news/2026/09/06/security-updates-1.6.19-and-1.7.4"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 XSS in HTML Editor via text/enriched Content"
}