Skip to content
Low

Outline: shares.info parent-share discovery leaks private-collection name/path (and ancestor document titles/URLs + sharer identity) to a non-member

GHSA-rvj7-2gww-6xfq First seen on SecPulse

Summary

Outline: shares.info parent-share discovery leaks private-collection name/path (and ancestor document titles/URLs + sharer identity) to a non-member

Repo: outline/outline — server/commands/shareLoader.ts, server/routes/api/shares/shares.ts. HEAD a717cb0645acebe582619b28a7beb99ceb6ee7ba....

Affected packages

PackageAffected → Fixed
otherOutline
< 1.12.0→ 1.12.0
Original description The description as published by the source.

Outline: shares.info parent-share discovery leaks private-collection name/path (and ancestor document titles/URLs + sharer identity) to a non-member

Repo: outline/outline — server/commands/shareLoader.ts, server/routes/api/shares/shares.ts. HEAD a717cb0645acebe582619b28a7beb99ceb6ee7ba.
Reporter: please credit GitHub @barnessomer. Found via source review + 3-way adversarial verification + independent re-trace. AI assistance used.
Severity: Low. CWE: CWE-863 (Incorrect Authorization) / CWE-200 (Exposure of Sensitive Information).

Summary

POST /api/shares.info with a documentId (and no public id) takes the authenticated-user branch and calls loadShareWithParent({ documentId, user }) (routes/api/shares/shares.ts:130). That function auto-discovers the parent share of the document (for the share popover) and returns it alongside the primary share; both are serialized by presentShare (shares.ts:143-145, no isPublic flag).

loadShareWithParent (server/commands/shareLoader.ts) applies a resource-level authorization to the primary objects but not to the discovered parent:

authorize(user, "read", share);                       // primary share
if (collectionId) authorize(user, "read", share.collection);   // :174-176  resource check
if (documentId) {
  authorize(user, "read", share.document);            // :183       resource check on the primary doc
  ...
  // parent collection share:
  if (collectionShare && can(…

Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details