Skip to main content
EPSS 0.6%top 54%

CVE-2026-54505: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mauriceboe TREK

0
Low
VulnerabilityCVE-2026-54505cvecve-2026-54505cwe-79
Published: 08/20/2026 (08/20/2026, 21:44:50 UTC)
Source: CVE Database V5
Vendor/Project: mauriceboe
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

mauriceboe

TREK

Affected versions
<3.1.0
GitHub Actionsmore threats →ai
liketrek/TREK
pkg:github/liketrek/TREK
Affected versions
<3.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 03:48:56 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses