Skip to navigation

Threat reportVulnerabilityTL-2026-4547

CVE-2026-105987: Stored XSS in KGS Software tia Viewer annotation API (versions before 1.2.8)

mediumPATCHED

CERT Polska reports a stored cross-site scripting flaw (CWE-79) in the annotation API of KGS Software tia Viewer. An authenticated attacker can inject JavaScript into sticky note annotations, which executes in the browser of any user who opens the document, potentially compromising user sessions.

Key facts

IdentifiersTL-2026-4547, CVE-2026-105987
SeverityMEDIUM
First disclosed
EPSSCVE-2026-105987: 0.2% (15.0th percentile)
Affected productsKGS Software tia Viewer
Weaknesses (CWE)CWE-79
ToolsKGS Software tia Viewer
MITRE ATT&CK techniquesT1059.007 Command and Scripting Interpreter: JavaScript, T1078 Valid Accounts, T1185 Browser Session Hijacking, T1190 Exploit Public-Facing Application, T1539 Steal Web Session Cookie
MotivationUNKNOWN
Detection rules9 (1 shown free)
Sources6 cited sources

Detection coverage

As of 2026-10-27, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4547 across Splunk SPL, Microsoft KQL and Sigma, covering 10 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: tia Viewer CVE-2026-105987 Stored XSS Script Payload in Annotation API Write — Exploitation

Behaviour-first search for the CVE-2026-105987 stored XSS in KGS Software tia Viewer (before 1.2.8). An authenticated user submits a stickynote annotation whose body contains a script tag or document.cookie access. The payload is replayed to every user who opens the annotated SAP ArchiveLink document, so catching the write is the earliest detection point.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1059.007
  • Data sources: nginx:access (index=web), reverse proxy / WAF request-body logging in front of tia Viewer, CommonSecurityLog
  • Severity: high
  • Confidence: high

Splunk SPL

index=web sourcetype="nginx:access" earliest=-24h
| search http_method IN ("POST","PUT","PATCH")
| where match(uri_path,"(?i)annot|sticky|note")
| where match(request_body,"(?i)<[[:space:]]*/?[[:space:]]*script|document[.]cookie")
| stats count min(_time) as first_seen max(_time) as last_seen values(uri_path) as targets values(http_user_agent) as user_agents by user src_ip
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestMethod in~ ("POST","PUT","PATCH")
| where RequestURL matches regex @"(?i)annot|sticky|note"
| where AdditionalExtensions matches regex @"(?i)<[[:space:]]*/?[[:space:]]*script|document[.]cookie"
| project TimeGenerated, DeviceVendor, DeviceProduct, SourceIP, SourceUserName, RequestMethod, RequestURL, RequestClientApplication, AdditionalExtensions

Sigma

title: tia Viewer Stored XSS Script Tag in Annotation Write (CVE-2026-105987)
id: 6f0d7b1e-3c52-4c0a-9a41-2b7d5e8f1a01
status: experimental
description: Detects authenticated write requests to the KGS Software tia Viewer annotation API (stickynote annotations) whose body contains script tags or document.cookie, the stored XSS vector described for CVE-2026-105987 in versions before 1.2.8.
references:
  - https://cert.pl/en/posts/2026/10/CVE-2026-105987/
  - https://www.cve.org/CVERecord?id=CVE-2026-105987
author: Threadlinqs Team
date: 2026/10/27
tags:
  - attack.initial-access
  - attack.t1190
  - attack.execution
  - attack.t1059.007
  - cve.2026.105987
logsource:
  category: webserver
detection:
  selection_method:
    cs-method:
      - POST
      - PUT
      - PATCH
  selection_uri:
    c-uri|contains:
      - annot
      - sticky
      - note
  selection_payload:
    RequestBody|contains:
      - '<script'
      - '</script'
      - 'document.cookie'
  condition: selection_method and selection_uri and selection_payload
falsepositives:
  - Authorized penetration tests against tia Viewer
  - Annotation text that legitimately quotes HTML or script code
level: high

Known false positives:

  • Authorized penetration tests or scanner runs against tia Viewer
  • Annotation text that legitimately quotes HTML or script code

Tuning notes: Allowlist test accounts and scanner source IPs. Enable request-body logging on the reverse proxy/WAF for annotation paths and map field names (http_method, uri_path, request_body, user, src_ip) to your environment; endpoint paths are unpublished so uri_path keywords are broad. Narrow to the real annotation path after confirming it.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • tia Viewer Encoded/Obfuscated Script Payload in Annotation API Write — Exploitation · unlock with TL Creds
  • tia Viewer Annotation Write from Previously Unseen Source IP — Post-Exploitation · unlock with TL Creds
  • tia Viewer Origin Browser Request to Rare External Host — Exfiltration Channel · unlock with TL Creds
  • tia Viewer Event-Handler / javascript: URI Payload in Annotation Write — Exploitation · unlock with TL Creds
  • tia Viewer Inline-Script CSP Violation from Annotated Document — Post-Exploitation · unlock with TL Creds
  • tia Viewer Origin Request with Session Cookie in URL Query — Cookie Exfiltration · unlock with TL Creds
  • tia Viewer Burst of Annotation Writes by Single Account — Post-Exploitation · unlock with TL Creds
  • tia Viewer Session Reuse from Multiple IPs After Stored XSS — Session Hijack · unlock with TL Creds

Indicators of compromise

As of 2026-10-27, Threadlinqs Intelligence tracks 10 indicators of compromise for TL-2026-4547.

Sample indicators (2 of 10)

  • URL: hxxps://cert[.]pl/en/posts/2026/10/CVE-2026-105987/
  • URL: hxxps://kgs-software[.]atlassian[.]net/wiki/spaces/DOCUEN/pages/3247079428/tia+Viewer+core

Defanged, TLP:CLEAR. Full set of 10 indicators: unlock with TL Creds.

10 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Fixed in version 1.2.8.

CVE-2026-105987 is a stored (persistent) cross-site scripting vulnerability, classified CWE-79 (improper neutralization of input during web page generation), in the annotation API of KGS Software tia Viewer. The CERT Polska advisory (published 2026-10-27) states that an authenticated attacker can inject an arbitrary JavaScript payload into a stickynote annotation because input is not properly validated or sanitized. When other users subsequently open the annotated document, the payload executes in their browser, potentially compromising their sessions. All versions before 1.2.8 are affected; the issue is fixed in 1.2.8.

Context on the product: per KGS Software documentation, tia Viewer is a web-based viewer delivered as an OCI container image that lets SAP users view PDF, JPEG and TIFF documents retrieved from an ArchiveLink-certified SAP archive. Depending on configuration, users may add annotations that are stored alongside the document in the archive. This storage model is what makes the XSS persistent: the malicious annotation is saved with the document and replayed to every subsequent viewer.

Exploitation prerequisites and limits (from the advisory): the attacker must be authenticated and must have the ability to create annotations; the victim must open the affected document. The advisory does not provide a CVSS score, does not report in-the-wild exploitation, does not mention a public proof of concept, and lists no indicators of compromise. The severity_level of MEDIUM recorded here is an analyst-assigned placeholder reflecting an authenticated, user-interaction-required stored XSS; it is not a vendor or CERT rating. Downstream consumers should not assume active exploitation. The reporter is credited as Dawid Dudek (4c1d8urn), who reported directly to CERT Polska under its coordinated vulnerability disclosure policy. As of 2026-10-27 the CVE record page and an NVD API query returned no detailed data, so no additional CVSS/CPE enrichment was available.

MITRE ATT&CK techniques by tactic:

Execution

T1059.007 Command and Scripting Interpreter: JavaScript

Persistence

T1078 Valid Accounts

Collection

T1185 Browser Session Hijacking

Initial Access

T1190 Exploit Public-Facing Application

Credential Access

T1539 Steal Web Session Cookie

Remediation

Patches

  • tia Viewer 1.2.8 (fixed version per CERT Polska advisory)

Immediate actions

  • Upgrade KGS Software tia Viewer to version 1.2.8 or later
  • Review existing sticky note annotations stored with archived documents for embedded script content such as script tags or event-handler attributes

Workarounds

  • Where annotations are enabled by configuration, restrict annotation creation to trusted users until the upgrade is applied

Longer-term hardening

  • Deploy a restrictive Content-Security-Policy on the tia Viewer web origin to limit inline script execution
  • Set session cookies HttpOnly, Secure and SameSite where configurable
  • Subscribe to KGS Software and CERT Polska advisories for tia Viewer

Affected and fixed versions

  • KGS Software — tia Viewer
    Vulnerable versions: all versions before 1.2.8
    Fixed in: 1.2.8

Timeline

  • Advisory reports no in-the-wild exploitation, no public proof of concept and no indicators of compromise; exploitation requires an authenticated attacker able to create annotations plus a victim opening the document.
  • NVD CVE API 2.0 and the CVE.org record page were queried at ingest and returned no detailed record, so no CVSS vector or CPE data was available.
  • Threadlinqs assessment at ingest: no in-the-wild exploitation, public PoC or IOCs are reported in the advisory; NVD API returned no record for the CVE.
  • Advisory credits Dawid Dudek (4c1d8urn), who reported the issue directly to CERT Polska under its coordinated vulnerability disclosure process; the report date is not stated.
  • Advisory states all versions before 1.2.8 are affected and that 1.2.8 fixes the flaw; the vendor release date of 1.2.8 is not stated in the advisory.
  • CVE-2026-105987 (CWE-79) referenced by CERT Polska as the identifier for the tia Viewer stored XSS; no CVSS score was provided.
  • CERT Polska published its advisory 'Vulnerability in KGS Software tia Viewer software' describing a stored XSS in the annotation API.

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 6 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats