Description
In Trimble TM4WEB 21.4.0.4 due to security misconfiguration with session identifiers, it is possible to recover valid session cookies via reflected cross-site scripting affecting the external document viewer endpoint.
Published: 2026-09-04
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Credential theft via session hijacking
Action: Apply Mitigation
AI Analysis

Impact

The flaw is a reflected cross‑site scripting condition in the external document viewer endpoint of Trimble TM4WEB version 21.4.0.4. Session identifiers are included in the URL and the value is reflected without proper encoding. An attacker can embed malicious JavaScript in a crafted link that, based on the description, is inferred to require the victim to be an authenticated user when opened, running in that user's browser context and capturing the session cookie. The retrieved cookie can then be used to hijack the victim’s session, allowing unauthorized access to the application and potentially sensitive data. This weakness is categorized as CWE‑79, described as Cross‑Site Scripting.

Affected Systems

Trimble TM4WEB enterprise software, specifically version 21.4.0.4. No other product or version information is provided.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. The EPSS score of less than 1% suggests a low likelihood of widespread exploitation at present, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that the attack requires an authenticated user to click a specially crafted URL that contains the unescaped session ID. Because the flaw is a reflected XSS, exploitation is straightforward for an attacker with knowledge of the impacted endpoint and does not need additional system access. However, successful exploitation would result in compromise of the victim’s session and the data accessible through that session.

Generated by OpenCVE AI on September 21, 2026 at 07:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any official Trimble update that removes session identifiers from URLs in the document viewer endpoint.
  • Enforce secure cookie attributes—set HttpOnly, Secure, and SameSite values—to prevent stolen cookies from being transmitted over unencrypted channels or from being accessed by JavaScript.
  • Implement proper output encoding on the external document viewer endpoint, ensuring that any reflected query parameters are HTML‑escaped or use a defensive programming library to neutralize injected scripts.
  • Disable passing session identifiers in URLs altogether, switching to token‑based session handling or storing the session ID in the cookie instead of the query string.

Generated by OpenCVE AI on September 21, 2026 at 07:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 21 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
Title Reflected XSS in Trimble TM4WEB Enables Session Cookie Theft

Mon, 14 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Trimble
Trimble tm4web
Vendors & Products Trimble
Trimble tm4web

Fri, 04 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
Title Reflected XSS in Trimble TM4WEB Enables Session Cookie Theft
Weaknesses CWE-79

Fri, 04 Sep 2026 15:45:00 +0000

Type Values Removed Values Added
Description In Trimble TM4WEB 21.4.0.4 due to security misconfiguration with session identifiers, it is possible to recover valid session cookies via reflected cross-site scripting affecting the external document viewer endpoint.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-14T13:23:29.870Z

Reserved: 2022-07-11T00:00:00.000Z

Link: CVE-2022-35497

cve-icon Vulnrichment

Updated: 2026-09-14T13:23:18.899Z

cve-icon NVD

Status : Deferred

Published: 2026-09-04T16:17:19.570

Modified: 2026-09-14T14:17:05.820

Link: CVE-2022-35497

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T07:15:07Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')