Skip to navigation

Threat reportVulnerabilityTL-2026-2043

CVE-2026-40126: DOM-based XSS in OutSystems Service Center via malicious file upload filenames

mediumPATCHED

CERT Polska coordinated the disclosure of CVE-2026-40126, a DOM-based cross-site scripting flaw (CWE-79, CVSS 4.0 base score 4.8) affecting all versions of OutSystems Service Center before 11.41.2. A low-privileged attacker can upload a file whose filename contains JavaScript code at any file-attachment point, and when that filename is rendered in the DOM it executes in the browser session of whoever views it.

Key facts

IdentifiersTL-2026-2043, CVE-2026-40126, CVE-2026-40127
SeverityMEDIUM
CVSS4.8 (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X)
EPSSCVE-2026-40127: 0.5% (47.0th percentile)
Affected productsOutSystems Service Center
Weaknesses (CWE)CWE-79
MITRE ATT&CK techniquesT1027 Obfuscated Files or Information, T1036 Masquerading, T1059.007 Command and Scripting Interpreter: JavaScript, T1185 Browser Session Hijacking, T1190 Exploit Public-Facing Application, T1204 User Execution, T1539 Steal Web Session Cookie, T1588.006 Vulnerabilities, T1592.002 Gather Victim Host Information: Software, T1595.002 Active Scanning: Vulnerability Scanning
MotivationUNKNOWN
Detection rules9 (1 shown free)
Sources11 cited sources

Detection coverage

As of 2026-08-17, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-2043 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: OutSystems Service Center — Privileged Rendering of Flagged Filename (CVE-2026-40126 Post-Exploitation)

Correlates a filename previously flagged as containing an embedded script payload with a subsequent page view of that same filename by a privileged/administrator Service Center account. Because the CVSS vector requires User Interaction: Active (UI:A), this render event is the moment the DOM XSS actually fires in a higher-privileged browser session — the low-privileged upload (T1204 user execution trigger) escalates impact (T1068) once an admin views it, and the malicious payload is masqueraded (T1036) inside an otherwise-benign filename field with obfuscated script syntax (T1027).

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1204, T1036, T1027, T1068
  • Data sources: iis_w3c_logs, outsystems_servicecenter_audit_log, identity_provider_logs
  • Severity: critical
  • Confidence: medium

Splunk SPL

index=web sourcetype=access_combined uri_path="*/ServiceCenter/*"
| rex field=uri_query "(?i)filename=(?<filename>[^&]+)"
| eval decoded_filename=urldecode(filename)
| eval is_malicious_filename=if(match(decoded_filename,"(?i)(<script|onerror\s*=|onload\s*=|javascript:)"),1,0)
| eval account_role=case(match(user,"(?i)admin|servicecenteradmins"),"privileged",1==1,"standard")
| stats earliest(_time) as upload_time by decoded_filename, is_malicious_filename
| where is_malicious_filename=1
| join type=inner decoded_filename
    [ search index=web sourcetype=access_combined uri_path="*/ServiceCenter/*" (uri_path="*FileDetails*" OR uri_path="*AttachmentList*") account_role=privileged
      | rex field=uri_query "(?i)filename=(?<filename>[^&]+)"
      | eval decoded_filename=urldecode(filename)
      | stats earliest(_time) as view_time, values(user) as viewing_user by decoded_filename ]
| where view_time>upload_time AND (view_time-upload_time)<600
| eval upload_time=strftime(upload_time,"%Y-%m-%d %H:%M:%S"), view_time=strftime(view_time,"%Y-%m-%d %H:%M:%S")
| table decoded_filename, upload_time, view_time, viewing_user

Microsoft KQL

let MaliciousUploads = W3CIISLog
| where TimeGenerated > ago(24h)
| where csUriStem has "ServiceCenter"
| extend DecodedFilename = url_decode(csUriQuery)
| where DecodedFilename matches regex @"(?i)(<script|onerror\s*=|onload\s*=|javascript:)"
| project UploadTime=TimeGenerated, DecodedFilename;
W3CIISLog
| where TimeGenerated > ago(24h)
| where csUriStem has_any ("ServiceCenter/FileDetails", "ServiceCenter/AttachmentList")
| where csUserName has_any ("admin", "svc-admin", "servicecenteradmins")
| extend DecodedFilename = url_decode(csUriQuery)
| project ViewTime=TimeGenerated, csUserName, DecodedFilename, cIP
| join kind=inner MaliciousUploads on DecodedFilename
| where ViewTime > UploadTime and ViewTime - UploadTime < 10m
| project ViewTime, UploadTime, csUserName, DecodedFilename, cIP

Sigma

title: OutSystems Service Center Privileged Rendering of Malicious Filename (CVE-2026-40126 Post-Exploitation)
id: b5e4d3f2-0c8e-4b4f-9d2e-3e6f7b8c9d0e
status: experimental
description: Detects a Service Center administrator/privileged account rendering a file listing or detail page for a filename previously flagged as containing an embedded script payload, indicating the CVE-2026-40126 DOM XSS has fired in a higher-privileged browser session (UI:A trigger).
references:
    - https://cert.pl/en/posts/2026/08/CVE-2026-40126/
    - https://www.cve.org/CVERecord?id=CVE-2026-40126
author: Threadlinqs Team
date: 2026/08/17
tags:
    - attack.execution
    - attack.t1204
    - attack.defense-evasion
    - attack.t1036
    - attack.t1027
    - attack.privilege-escalation
    - attack.t1068
    - cve.2026.40126
logsource:
    category: webserver
detection:
    selection_view:
        cs-uri-stem|contains:
            - 'ServiceCenter/FileDetails'
            - 'ServiceCenter/AttachmentList'
        cs-username|contains:
            - 'admin'
            - 'ServiceCenterAdmins'
    selection_payload:
        cs-uri-query|contains:
            - '<script'
            - 'onerror='
            - 'javascript:'
    condition: selection_view and selection_payload
falsepositives:
    - Administrator manually re-opening a previously flagged filename during incident triage or remediation testing
level: high

Known false positives:

  • Administrator or security analyst manually re-opening a previously flagged filename during incident triage/remediation testing
  • SOC playbook automation re-fetching the flagged file's metadata for forensic capture

Tuning notes: Maintain the 'privileged account' name/group match against the real Service Center Administrators/Deployment role list rather than a substring match; shorten or lengthen the upload-to-view correlation window based on observed admin review cadence, and suppress alerts generated by the SOC's own forensic re-access of a filename already under investigation.

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)
  • [indicator] — JavaScript-Laden Filename Upload (CVE-2026-40126 Exploitation) · unlock with TL Creds
  • [indicator] — Privileged Rendering of Flagged Filename (CVE-2026-40126 Post-Exploitation) · unlock with TL Creds
  • [indicator] — Session Cookie Reuse Across Distinct Sources (CVE-2026-40126 Hijack / Exfil) · unlock with TL Creds
  • [indicator] — JavaScript-Laden Filename Upload (CVE-2026-40126 Exploitation) · unlock with TL Creds
  • [indicator] — Privileged Rendering of Flagged Filename (CVE-2026-40126 Post-Exploitation) · unlock with TL Creds
  • [indicator] — Session Cookie Reuse Across Distinct Sources (CVE-2026-40126 Hijack / Exfil) · unlock with TL Creds
  • [indicator] — JavaScript-Laden Filename Upload (CVE-2026-40126 Exploitation) · unlock with TL Creds
  • [indicator] — Session Cookie Reuse Across Distinct Sources (CVE-2026-40126 Hijack / Exfil) · unlock with TL Creds

Indicators of compromise

As of 2026-08-17, Threadlinqs Intelligence tracks 10 indicators of compromise for TL-2026-2043.

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

Technical analysis

OutSystems shipped a fix in Service Center 11.41.2; no public PoC or active exploitation has been reported.

OutSystems Service Center — the administration console for the OutSystems low-code platform — contains a DOM-based cross-site scripting vulnerability (CWE-79, Improper Neutralization of Input During Web Page Generation) tracked as CVE-2026-40126. Per the coordinated-disclosure advisory published by CERT Polska on 17 August 2026, a low-privileged authenticated attacker can exploit the flaw by uploading a file whose filename contains embedded JavaScript at any location in the application where a file can be attached and prepared for upload. The advisory states the vulnerability is present at 'all locations where a file can be attached and prepared for upload to the server,' but does not disclose the precise DOM sink or rendering path that turns the unsanitized filename into executed script — no proof-of-concept exploit has been published.

NIST's NVD record assigns a CVSS v4.0 vector of AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N (base score 4.8, MEDIUM). The vector indicates the flaw is network-reachable and low-complexity, but requires the attacker to already hold low-level privileges (PR:L) and requires a second party's active interaction (UI:A) — consistent with a stored/DOM XSS where the payload only fires when another user (potentially a higher-privileged Service Center administrator) views the malicious filename in the UI. The explicit User Interaction: Active requirement means exploitation depends on a victim rendering or opening a file listing that contains the attacker-controlled filename, functionally an execution-through-interaction step rather than an unattended trigger. The Subsequent System (SC/SI) sub-scores of Low reflect that the resulting script execution can affect the confidentiality/integrity of the victim's browser session in Service Center, which functionally enables session-token theft and privilege escalation against whichever user renders the attacker-controlled filename.

The vulnerability was discovered and responsibly reported by Zbigniew Piotrak of the AFINE Team, a certified penetration-testing group with 150+ published CVEs, and coordinated to disclosure by CERT Polska. OutSystems remediated the issue in Service Center 11.41.2. This is the second OutSystems vulnerability from the same researcher/CERT Polska coordination pairing in 2026: CVE-2026-40127 (CWE-639, Authorization Bypass Through User-Controlled Key, in OutSystems LifeTime, fixed in 11.28.2.3955) was disclosed on 25 May 2026 and confirmed present in AFINE's own published research index alongside CVE-2026-40126 — a distinct flaw in a distinct OutSystems component, included here only as sourced context for the same research lineage, not as an affected product of this CVE. As of the advisory's publication date, CVE-2026-40126 is absent from CISA's Known Exploited Vulnerabilities catalog, consistent with CERT Polska's statement that no active exploitation or public PoC exists.

MITRE ATT&CK techniques by tactic:

Defense Evasion

T1027 Obfuscated Files or Information; T1036 Masquerading

Execution

T1059.007 Command and Scripting Interpreter: JavaScript; T1204 User Execution

Collection

T1185 Browser Session Hijacking

Initial Access

T1190 Exploit Public-Facing Application

Credential Access

T1539 Steal Web Session Cookie

Resource Development

T1588.006 Vulnerabilities

Reconnaissance

T1592.002 Gather Victim Host Information: Software; T1595.002 Active Scanning: Vulnerability Scanning

Remediation

Patches

  • OutSystems Service Center 11.41.2

Immediate actions

  • Upgrade OutSystems Service Center to version 11.41.2 or later
  • Until patched, audit recently uploaded filenames at all file-attachment points for embedded script-like content (e.g. angle brackets, 'javascript:', event-handler strings)

Longer-term hardening

  • Enforce server-side and client-side sanitization/output-encoding of user-supplied filenames before they are rendered in any DOM context
  • Deploy a Content Security Policy on the Service Center UI to restrict inline script execution
  • Review authorization boundaries so content uploaded by a low-privileged account cannot be rendered unsanitized to higher-privileged users

Affected and fixed versions

  • OutSystems — Service Center
    Vulnerable versions: all versions before 11.41.2
    Fixed in: 11.41.2

Timeline

  • CERT Polska publishes coordinated disclosure of CVE-2026-40127 (Authorization Bypass Through User-Controlled Key, CWE-639) in OutSystems LifeTime, also reported by AFINE Team's Zbigniew Piotrak — the same researcher/coordinator pairing behind CVE-2026-40126.
  • AFINE Team's public research index and GitHub research repository list CVE-2026-40126 alongside CVE-2026-40127 as the two OutSystems disclosures credited to Zbigniew Piotrak, corroborating the CERT Polska attribution.
  • CVE-2026-40126 is absent from CISA's Known Exploited Vulnerabilities catalog as of the advisory date, consistent with CERT Polska's statement of no active exploitation and no public PoC.
  • OutSystems publishes its own vulnerability advisory (vulnerability_rpm_6669) for CVE-2026-40126, referenced by NVD as the official vendor fix reference.
  • OutSystems Service Center 11.41.2, which resolves CVE-2026-40126, is confirmed as the fixed version at time of advisory publication.
  • CVE.org/NVD publish the CVE-2026-40126 record (12:18:25 UTC) with CWE-79 and a CVSS v4.0 base score of 4.8 (MEDIUM).
  • CERT Polska publishes the coordinated-disclosure advisory for CVE-2026-40126, a DOM-based XSS in OutSystems Service Center reported by Zbigniew Piotrak of AFINE Team.

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 11 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