CVE-2026-54505: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mauriceboe TREK
Description
CVE-2026-54505 is a cross-site scripting (XSS) vulnerability in the TREK collaborative travel planner prior to version 3.1.0. When the Journey add-on is enabled, unescaped user input from trip titles is rendered directly into the DOM using dangerouslySetInnerHTML, allowing a trip owner to inject HTML that is then displayed to collaborators. Although the default Content Security Policy mitigates script execution, this flaw can enable content spoofing and UI redress attacks. The issue is fixed in version 3.1.0.
CVSS v4.0
Score 2.0low
Affected software
mauriceboe
TREK
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
TREK versions before 3.1.0 with the Journey add-on enabled interpolate the unescaped activeSuggestion.title value into the journey.frontpage.suggestionText and render it with dangerouslySetInnerHTML. This allows a trip owner to store HTML in a trip title, which is returned by the GET /api/journeys/suggestions endpoint and rendered in collaborators' authenticated Journey pages. The injected markup is inserted as live DOM, enabling content spoofing and UI redress. The default Content Security Policy blocks inline event handlers and script execution, limiting the impact. The vulnerability is resolved in version 3.1.0.
Potential Impact
An attacker who controls a trip title can inject HTML content that is rendered in the browser of collaborators viewing the Journey page. This can lead to content spoofing and UI redress attacks. However, the default Content Security Policy prevents execution of inline scripts and handlers, reducing the risk of more severe script-based attacks. The CVSS score is low (2.0), reflecting limited impact and exploitability.
Mitigation Recommendations
Upgrade TREK to version 3.1.0 or later, where this vulnerability is fixed. No additional mitigation is required as the fix addresses the root cause by properly escaping or sanitizing user input before rendering.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T18:01:15.512Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a877787acd9273b492c5e3e
Added to database: 08/20/2026, 21:54:15 UTC
Last enriched: 09/11/2026, 03:48:56 UTC
Last updated: 10/05/2026, 06:48:17 UTC
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.