{"id":"CVE-2026-50554","title":"Note Mark is an open-source note-taking application","summary":"Note Mark is an open-source note-taking application. Prior to version 0.19.5, GET /api/books/{bookID}/notes is an unauthenticated endpoint that accepts a \"deleted\" query parameter. When the request is ?deleted=true, the service runs the …","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","cwe":["CWE-200","CWE-285"],"vendor":"enchant97","product":"github.com/enchant97/note-mark/backend","affected":["github.com/enchant97/note-mark/backend < 0.0.0-20260601210758-9c9b72740f22"],"patched":["github.com/enchant97/note-mark/backend 0.0.0-20260601210758-9c9b72740f22"],"published":"2026-09-03","updated":"2026-09-09","sourceUpdated":"2026-09-09T21:09:13.080","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-50554","references":[{"url":"https://github.com/enchant97/note-mark/commit/9c9b72740f22a06131a8f64b53bb08e3b05b81a6","label":"security-advisories@github.com"},{"url":"https://github.com/enchant97/note-mark/releases/tag/v0.19.5","label":"security-advisories@github.com"},{"url":"https://github.com/enchant97/note-mark/security/advisories/GHSA-588f-fvcv-xhvf","label":"security-advisories@github.com"},{"url":"https://github.com/enchant97/note-mark/security/advisories/GHSA-588f-fvcv-xhvf","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://github.com/advisories/GHSA-588f-fvcv-xhvf"}],"tags":["nvd","ghsa","go"],"epss":0.00243,"epssPercentile":0.15797,"aliases":["GHSA-588f-fvcv-xhvf"],"ecosystem":"go","ingestedAt":"2026-07-09T13:51:05.187Z","slug":"CVE-2026-50554","body":"## Overview\n\nNote Mark is an open-source note-taking application. Prior to version 0.19.5, GET /api/books/{bookID}/notes is an unauthenticated endpoint that accepts a \"deleted\" query parameter. When the request is ?deleted=true, the service runs the query with Unscoped() (bypassing GORM's soft-delete scope) but keeps the read-authorization clause as \"owner_id = ? OR is_public = ?\". As a result, any unauthenticated caller can enumerate the metadata of soft-deleted (\"trashed\") notes belonging to any public book — notes the owner explicitly deleted and expected to be removed from public view. This issue has been patched in version 0.19.5.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-50554)\n\nAffected packages:\n\n- `github.com/enchant97/note-mark/backend < 0.0.0-20260601210758-9c9b72740f22`\n\nPatched in:\n\n- `github.com/enchant97/note-mark/backend 0.0.0-20260601210758-9c9b72740f22`\n\nSource: https://github.com/advisories/GHSA-588f-fvcv-xhvf","depth":"sunlit","depthScore":29,"depthScoreParts":{"impact":29.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}