Skip to main content

TREK EUVDEUVD-2026-63694

| CVE-2026-54505 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-08-20 GitHub_M
2.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as trip owner
  2. Delivery
    Store crafted HTML markup in trip title
  3. Exploit
    Collaborator opens authenticated Journey page
  4. Install
    Browser fetches GET /api/journeys/suggestions
  5. C2
    Unsanitized title interpolated into i18n template
  6. Execute
    Rendered via dangerouslySetInnerHTML into collaborator DOM
  7. Impact
    Content spoofed or UI redressed in victim session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Journey add-on must be explicitly enabled in the TREK deployment (confirmed by CVSS 4.0 AT:P); installations without this add-on active are not affected. The attacker must be an authenticated trip owner (CVSS PR:L) with the ability to create or modify trip titles that appear in journey suggestions. The victim must be an authenticated collaborator who actively opens the Journey page, triggering the GET /api/journeys/suggestions fetch (CVSS UI:A). Script execution and inline event handler firing are blocked by the default Content Security Policy, limiting outcomes to HTML structure injection, content spoofing, and UI redress rather than full cross-site scripting. Non-default Journey add-on enablement is the primary deployment-level gating factor.

Impact

The CVSS 4.0 score of 2.0 accurately reflects multiple compounding constraints. The attack requires specific prerequisites (AT:P): the Journey add-on must be explicitly enabled, which is not a default deployment mode. The attacker must hold low-privilege authenticated access as a trip owner (PR:L), and exploitation requires the victim collaborator to actively open the Journey page (UI:A). Integrity impact is limited (VI:L) with no confidentiality or availability impact, because the application's default Content Security Policy blocks inline event handlers and script execution, preventing full XSS payload delivery. No EPSS data was provided in the available intelligence, and the vulnerability is not listed in CISA KEV, with no public exploit code identified. The overall real-world risk is low: this is a narrow-scope stored HTML injection in an optional add-on, substantially mitigated by both authentication requirements and the existing CSP posture.

Exploit ScenarioDerived

An authenticated TREK trip owner creates or renames a trip with a title containing crafted HTML such as a fake login overlay or a deceptive anchor element. When a collaborator subsequently opens the Journey page, the browser requests GET /api/journeys/suggestions, which returns the unsanitized title; the frontend interpolates it into the i18n template and renders it via dangerouslySetInnerHTML, inserting the attacker-controlled HTML into the collaborator's live DOM. Because the default CSP blocks script execution and inline handlers, the practical outcome is visual spoofing - for example, a convincing credential-harvesting overlay - rather than arbitrary JavaScript execution.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Stored HTML injection in TREK collaborative travel planner (versions prior to 3.1.0) enables content spoofing and UI redress attacks against authenticated collaborators when the Journey add-on is enabled. An authenticated trip owner embeds raw HTML in a trip title; the backend endpoint GET /api/journeys/suggestions returns it unsanitized, and the frontend renders it directly via React's dangerouslySetInnerHTML, bypassing output encoding. The default Content Security Policy blocks inline handlers and script execution, constraining impact to visual manipulation rather than full cross-site scripting; no public exploit or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade to TREK version 3.1.0, which resolves the issue as confirmed by the GitHub release at https://github.com/liketrek/TREK/releases/tag/v3.1.0 and the associated fix commit ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11 (https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11). If an immediate upgrade is not feasible, disabling the Journey add-on entirely eliminates the vulnerable rendering path, as the dangerouslySetInnerHTML sink in JourneyPage.tsx is only reachable when that add-on is active. Enforcing a strict Content Security Policy that prohibits inline styles and restricts navigable URLs can reduce the residual risk from UI redress attacks; however, be aware that overly restrictive CSP directives may break legitimate Journey add-on functionality. Restricting trip creation privileges to a known-trusted set of users also narrows the population of potential injectors.

Affected VersionsENISA

TREK < 3.1.0

Affected Packages

euvd trek fix: 3.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

TREK is a React-based collaborative travel planner (CPE: cpe:2.3:a:mauriceboe:trek). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation). The vulnerable data flow begins in the Journey add-on's backend, where getSuggestions(userId) returns raw trip titles through GET /api/journeys/suggestions without sanitization. On the frontend, client/src/i18n/TranslationContext.tsx interpolates the unescaped activeSuggestion.title value into the i18n template string journey.frontpage.suggestionText. The resulting string is then passed to React's dangerouslySetInnerHTML prop in client/src/pages/JourneyPage.tsx, which explicitly bypasses React's built-in HTML escaping and causes the browser to parse and render any embedded HTML as live DOM. The CSP mitigates script execution but does not prevent HTML structure injection.

Know when Trek gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 2.0 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.0 LOW

Journey add-on prerequisite justifies AC:H; collaborator must open the page (UI:R); CSP limits impact to UI integrity only (I:L), no confidentiality or availability effect.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 20, 2026 - 22:04 EUVD

DescriptionCVE.org

TREK is a collaborative travel planner. Prior to 3.1.0, when the Journey add-on is enabled, TREK interpolates the unescaped activeSuggestion.title value into journey.frontpage.suggestionText through client/src/i18n/TranslationContext.tsx and renders the result with dangerouslySetInnerHTML in client/src/pages/JourneyPage.tsx. A trip owner can store HTML in a qualifying trip title, and GET /api/journeys/suggestions returns that title through getSuggestions(userId) to a collaborator who opens the authenticated Journey page. The markup is inserted as live DOM in the collaborator's session, enabling content spoofing and UI redress, although the default Content Security Policy blocks inline handlers and script execution. This issue is fixed in version 3.1.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Rare
niche open-source travel planner, minimal enterprise deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Trek

View all
CVE-2026-77294 HIGH
8.1 Sep 24

Server-side request forgery in TREK before 3.3.0 allows an authenticated user (CVSS PR:L) to persist an attacker-control

CVE-2026-77293 HIGH
7.1 Sep 24

TREK, a collaborative travel-planning web application, authorizes the DELETE /api/trips/:tripId/collab/notes/:noteId/fil

CVE-2026-54509 MEDIUM
6.5 Aug 20

Share-link token theft in TREK versions 3.0.0 through 3.0.x allows any ordinary authenticated user to exfiltrate private

CVE-2026-40185 MEDIUM
6.5 Apr 10

Authentication bypass in TREK collaborative travel planner (versions prior to 2.7.2) allows authenticated attackers with

CVE-2026-78886 MEDIUM
6.3 Aug 25

Path traversal in the liketrek TREK Public Journey Photo Proxy controller allows remote attackers - without authenticati

CVE-2026-78885 MEDIUM
6.3 Aug 25

Improper authentication in liketrek TREK up to version 3.0.22 allows a remote unauthenticated attacker to bypass the OID

CVE-2026-85738 MEDIUM
6.3 Sep 24

Server-side request forgery in TREK (versions prior to 3.4.0) allows an authenticated user to reach internal services or

CVE-2026-78887 MEDIUM
6.3 Aug 25

Incorrect authorization in liketrek TREK's Journey Photo Proxy (all versions through 3.0.22) enables remote unauthentica

CVE-2026-54508 MEDIUM
5.3 Aug 20

Server-Side Request Forgery in TREK, a collaborative travel planner, allows any authenticated user to pivot the server i

CVE-2026-78863 MEDIUM
5.3 Aug 25

Authentication bypass in liketrek TREK up to v3.0.22 allows a remote attacker with valid credentials to circumvent two-f

CVE-2026-77320 MEDIUM
5.3 Sep 24

TREK, a self-hosted collaborative travel planner, returns complete trip itinerary data - day plans, assignments, notes,

CVE-2026-78864 MEDIUM
5.3 Aug 25

SQL injection in liketrek TREK's Journey Entry Update endpoint allows authenticated remote attackers to manipulate under

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy