Visit the Wiz Whimzical Shop at AWS re:Invent
Vulnerability DatabaseGHSA-9x64-fcmc-xf8x

GHSA-9x64-fcmc-xf8x: 
JavaScript vulnerability analysis and mitigation

Summary

A low-privileged user who has been invited as a viewer to a shared list in Karakeep can read the private highlight notes of the list owner (and any other user who bookmarked the same items). The highlights.getForBookmark tRPC endpoint checks that the caller has access to the bookmark (via list sharing), but the underlying query returns highlights from all users instead of scoping them to the requesting user.

Details

The vulnerability is in packages/trpc/models/highlights.repo.ts, in the getForBookmark method (line 45–49):

async getForBookmark(bookmarkId: string): Promise<Highlight[]> {
    return await this.db.query.highlights.findMany({
      where: eq(highlights.bookmarkId, bookmarkId),
      orderBy: [desc(highlights.createdAt), desc(highlights.id)],
    });
}

This query filters only by bookmarkId — there is no userId filter. Compare this with getAll() (line 60) and search() (line 99) in the same file, which both correctly include eq(highlights.userId, userId). In the router (packages/trpc/routers/highlights.ts, line 59–67), the getForBookmark endpoint uses ensureBookmarkAccess, which grants access to anyone who can view the bookmark through a shared list. This means a viewer on a shared list can call this endpoint and receive highlights — including private notes — created by the bookmark owner or any other user.

PoC

Setup: two users, Alice (bookmark owner) and Bob (invited as viewer to Alice's shared list).

  1. Alice creates a bookmark and adds a highlight with a private note: "SECRET: my bank password is 12345"
  2. Alice creates a shared list, adds the bookmark, and invites Bob as a viewer
  3. Bob accepts the invitation
  4. Bob calls the getForBookmark endpoint with Alice's bookmark ID: PoC Screenshot Bob receives Alice's highlight including her private note content, despite only having viewer access through the shared list.

Impact

Any user invited as a viewer to a shared list can read the private highlight notes of all users who have highlights on bookmarks in that list. Highlight notes can contain sensitive personal information (passwords, credentials, personal thoughts). This is an information disclosure / IDOR vulnerability affecting all Karakeep instances where list sharing is used.


Source: NVD

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-6x2m-grfc-8m6fHIGH8.8
  • JavaScript logoJavaScript
  • vibe-kanban
NoYesNov 29, 2026
GHSA-4m8h-p24q-xx95HIGH7.5
  • JavaScript logoJavaScript
  • mcp-sanitizer
NoYesNov 29, 2026
GHSA-9x64-fcmc-xf8xMEDIUM6.5
  • JavaScript logoJavaScript
  • karakeep
NoYesNov 29, 2026
GHSA-3wgf-gpx8-xj7gMEDIUM5.3
  • JavaScript logoJavaScript
  • mcp-sanitizer
NoYesNov 29, 2026
GHSA-33c3-cpvh-9537LOW3.1
  • JavaScript logoJavaScript
  • @tinyhttp/app
NoYesNov 29, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management