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 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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-200",
"CWE-285"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50554.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.19.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "9c9b72740f22a06131a8f64b53bb08e3b05b81a6"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.19.5",
"range": [
{
"fixed": "7cdfd90f58dc9d15b9ca050971fd02ec93edf8e5"
}
],
"source": "REFERENCES_TAG"
}
]
}