CVE-2026-54505
Beschrijving NL
TREK is een samenwerkende reisplanner. Voorafgaand aan 3.1.0, wanneer de Journey add-on is ingeschakeld, interpoleert TREK de unescaped activeSuggestion.title waarde in journey.frontpage.suggestionText via client/src/i18n/TranslationContext.tsx en geeft het resultaat weer met dangerousouslySetInnerHTML in client/src/pages/JourneyPage.tsx. Een reiseigenaar kan HTML opslaan in een in aanmerking komende reistitel, en GET /api/journeys/suggestions retourneert die titel viagetSuggestions (userId) aan een medewerker die de geverifieerde Journey-pagina opent. De opmaak wordt ingevoegd als live DOM in de sessie van de medewerker, waardoor content spoofing en UI-herstel mogelijk is, hoewel het standaard Content Security Policy inline handlers en scriptuitvoering blokkeert. Dit probleem is opgelost in versie 3.1.0.
Origineel (Engels) tonen
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.