Description
TREK is a collaborative travel planner. Prior to 3.3.0, getSharedTripData in server/src/services/shareService.ts returns days, assignments, dayNotes, and places through GET /api/shared/:token even when the trip owner disables share_map. The client hides the map, but the public JSON response still includes the itinerary and place names, coordinates, addresses, descriptions, notes, and prices. Anyone holding the valid share token can therefore read location and route information that the owner explicitly chose not to share, although the random token remains required and the flaw does not permit modification. This issue is fixed in version 3.3.0.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-200 — CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-284 — CWE-284: Improper Access Control
- CWE-602 — CWE-602: Client-Side Enforcement of Server-Side Security
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mauriceboe | TREK | < 3.3.0 |
References
- https://github.com/liketrek/TREK/security/advisories/GHSA-9hc8-p7gm-p7mx (x_refsource_CONFIRM)
- https://github.com/liketrek/TREK/pull/1520 (x_refsource_MISC)
- https://github.com/liketrek/TREK/commit/19064b39176660f3be3a2df198c87949504046e2 (x_refsource_MISC)
- https://github.com/liketrek/TREK/releases/tag/v3.3.0 (x_refsource_MISC)
Generated from the official CVE List on 25 Sep 2026 07:05 UTC.