{"id":"CVE-2026-54505","aliases":["CVE-2026-54505"],"related":[],"kind":"vulnerability","state":"published","title":"TREK: Stored cross-user HTML injection via trip title in the Journey suggestion banner","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"TREK es un planificador de viajes colaborativo. Antes de la versión 3.1.0, cuando el complemento Journey está habilitado, TREK interpola el valor sin escapar de activeSuggestion.title en journey.frontpage.suggestionText a través de cliente/src/i18n/TranslationContext.tsx y renderiza el resultado con dangerouslySetInnerHTML en cliente/src/pages/JourneyPage.tsx. Un propietario de viaje puede almacenar HTML en un título de viaje que califique, y GET /API/journeys/suggestions devuelve ese título a través de getSuggestions(userId) a un colaborador que abre la página Journey autenticada. El marcado se inserta como DOM en vivo en la sesión del colaborador, lo que permite la suplantación de contenido y la manipulación de la interfaz de usuario, aunque la Política de Seguridad de Contenido predeterminada bloquea los manejadores en línea y la ejecución de scripts. Este problema está solucionado en la versión 3.1.0.","source":"nvd"}],"published":"2026-08-20T21:44:50.337Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 3.1.0","status":"affected"}],"vendor":"mauriceboe","product":"TREK","source":"cvelist"}],"references":[{"url":"https://github.com/liketrek/TREK/security/advisories/GHSA-g8rf-gqrw-4qf9","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liketrek/TREK/pull/1185","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liketrek/TREK/releases/tag/v3.1.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-25T15:30:10.707Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54505","url":"https://www.cve.org/CVERecord?id=CVE-2026-54505","licence":"CVE Terms of Use","modified":"2026-08-25T15:30:48.581Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54505","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54505","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:34.736Z","epss":{"score":0.00541,"percentile":0.46906,"date":"2026-12-01T12:00:22.000Z"}}