{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.11.8"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "be7b9853578d7450023ffd44cb1b47e036cb64a9"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.12.0"
              },
              {
                "fixed": "1.12.9"
              }
            ]
          },
          "events": [
            {
              "introduced": "5469d66c10bf2b726ba49bceb2c366c59cd34a3f"
            },
            {
              "fixed": "5b7b8ba3d0d17c4dc09a41ca535bc5f4de4da32f"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.13.0"
              },
              {
                "fixed": "1.14.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "b303777415ae004ac6fb1508897fea290eafb9c7"
            },
            {
              "fixed": "2705c067d5cb5dbbb6eb1a68d1aa49cdcfe5f122"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.2.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "40f4d8d299271d1d6f53dedd01de2c8215f55feb"
            },
            {
              "fixed": "14e1a666c890b571cc3ca0a150b357ebd8d1ca72"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-m45f-r5gh-h6cx"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25160.json"
  },
  "details": "Nextcloud Mail is an email app for the Nextcloud home server platform. Prior to versions 2.2.1, 1.14.5, 1.12.9, and 1.11.8, an attacker can access the mail box by ID getting the subjects and the first characters of the emails. Users should upgrade to Mail 2.2.1 for Nextcloud 25, Mail 1.14.5 for Nextcloud 22-24, Mail 1.12.9 for Nextcloud 21, or Mail 1.11.8 for Nextcloud 20 to receive a patch. No known workarounds are available.",
  "id": "CVE-2023-25160",
  "modified": "2026-04-01T23:09:03.827529004Z",
  "published": "2023-02-13T20:19:08.774Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/1784681"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25160.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m45f-r5gh-h6cx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-25160"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nextcloud/mail/pull/7740"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "IDOR Vulnerability in Nextcloud Mail"
}