Skip to content

CVE-2026-54505 TREK: Stored cross-user HTML injection via trip title in the Journey suggestion banner

LowCVSS 2.0 EPSS 0.58%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
mauriceboe TREK = < 3.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
mauriceboe TREK = < 3.1.0 No fix listed

References