---
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.00417
epssPercentile: 0.35795
aliases:
  - GHSA-588f-fvcv-xhvf
ecosystem: go
ingestedAt: '2026-07-09T13:51:05.187Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-50554)

Affected packages:

- `github.com/enchant97/note-mark/backend < 0.0.0-20260601210758-9c9b72740f22`

Patched in:

- `github.com/enchant97/note-mark/backend 0.0.0-20260601210758-9c9b72740f22`

Source: https://github.com/advisories/GHSA-588f-fvcv-xhvf
