---
id: CVE-2022-35497
title: >-
  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.
summary: >-
  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.
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-09-04'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T14:17:05.820'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-35497'
references:
  - url: 'http://tm4web.com'
    label: cve@mitre.org
  - url: 'http://trimble.com'
    label: cve@mitre.org
  - url: 'https://github.com/PN-Tester/CVE-2022-35497/tree/main'
    label: cve@mitre.org
tags:
  - nvd
  - cve.org
  - exploit-available
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-14T13:23:26.417950Z'
epss: 0.00255
epssPercentile: 0.17437
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/PN-Tester/CVE-2022-35497'
  checkedAt: '2026-09-24T07:52:54.820Z'
exploitAvailable: true
ingestedAt: '2026-09-08T20:10:03.166Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
