{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.0-beta.6"
                  },
                  {
                    "last_affected": "1.0-beta.52"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "75369a59880de369c92e815f6b79da82807d019c"
            },
            {
              "last_affected": "84d3083baa1d4561044b92341916b11f777d4f4a"
            }
          ],
          "repo": "https://github.com/streetwriters/notesnook-sync-server",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142331.json"
  },
  "details": "Notesnook-sync-server 1.0-beta.6 through 1.0-beta.52 contains an information disclosure vulnerability that allows unauthenticated attackers to retrieve user email addresses via the userId parameter of GET /announcements/active. Attackers can enumerate MongoDB ObjectId user IDs so that AnnouncementController substitutes each account's email into announcement links containing the {{Email}} placeholder.",
  "id": "CVE-2026-142331",
  "modified": "2026-12-02T17:45:48.155263747Z",
  "published": "2026-12-02T16:48:16.682Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142331.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/streetwriters/notesnook-sync-server"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/streetwriters/notesnook-sync-server/blob/v1.0-beta.52/Notesnook.API/Controllers/AnnouncementController.cs#L43-L80"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142331"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/notesnook-sync-server-1.0-beta.6-through-1.0-beta.52-email-disclosure-via-announcements-active"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Notesnook-sync-server 1.0-beta.6 through 1.0-beta.52 Email Disclosure via /announcements/active"
}