Threat reportICS/SCADATL-2026-4346
CVE-2025-13902: Stored/Reflected XSS (CWE-79) in Schneider Electric Modicon M241/M251/M258/LMC058 Controllers Web Server
CVE-2025-13902 is a cross-site scripting flaw (CWE-79) in the embedded web server of Schneider Electric Modicon M241/M251 (and M258/LMC058) PLCs, disclosed by Claroty Team82 and covered by Schneider Electric security notice SEVD-2026-069. An authenticated attacker can plant a crafted element that runs arbitrary JavaScript in a victim's browser when they hover over it (CVSS 3.1 5.4 Medium). First disclosed .
Key facts
| Identifiers | TL-2026-4346, CVE-2025-13902, CVE-2025-13901 |
|---|---|
| Also known as | SEVD-2026-069-01, SEVD-2026-069-02 |
| Severity | MEDIUM |
| CVSS | 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) |
| First disclosed | |
| EPSS | CVE-2025-13901: 0.4% (41.7th percentile); CVE-2025-13902: 0.2% (15.0th percentile) |
| Affected products | Schneider Electric Modicon M241 / M251 Controllers; Schneider Electric Modicon M258 / LMC058 Controllers; Schneider Electric Modicon M262 Controllers (named in Team82 disclosure; not listed in CVE record for this CVE) |
| Weaknesses (CWE) | CWE-79 |
| Tools | EcoStruxure Machine Expert |
| MITRE ATT&CK techniques | T1059.007 Command and Scripting Interpreter: JavaScript, T1078 Valid Accounts, T1185 Browser Session Hijacking, T1190 Exploit Public-Facing Application, T1204 User Execution |
| Motivation | UNKNOWN |
| Target sectors | manufacturing, energy, industrial control systems, critical infrastructure |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 7 cited sources |
Detection coverage
As of 2026-10-28, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4346 across Splunk SPL, Microsoft KQL and Sigma, covering 13 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: CVE-2025-13902 Stored XSS Written Then Viewed by Another Client
Correlates a POST/PUT carrying script markup to a Modicon controller web server with later page views of the same server by a different client, the stored-XSS pattern where an authenticated attacker plants a crafted element and a victim triggers it by hovering (CVE-2025-13902).
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1190, T1204, T1059.007, T1078
- Data sources: splunk stream:http, index=ot_network, ASIM WebSession, proxy or web server logs
- Severity: medium
- Confidence: medium
Splunk SPL
index=ot_network sourcetype="stream:http" earliest=-24h http_method IN ("GET","POST","PUT")
```CVE-2025-13902 / TL-2026-4346: stored XSS - markup written to a controller web server then viewed by a different client```
| eval payload=urldecode(urldecode(coalesce(form_data,"")." ".coalesce(uri_query,"")))
| eval is_write=if(http_method IN ("POST","PUT") AND match(payload, "(?i)(\x3c\s*script|\x3c\s*(img|svg|iframe|body|a|div|input|details|marquee)\b[^\x3e]*\bon[a-z]+\s*=|\bon(mouseover|mouseenter|mouseout|mousemove|focus|error|load|click)\s*=|javascript\s*:)"),1,0)
| eval is_view=if(http_method="GET" AND tonumber(status)<400,1,0)
| where is_write=1 OR is_view=1
| stats sum(is_write) as writes sum(is_view) as views min(eval(if(is_write=1,_time,null()))) as first_write max(eval(if(is_view=1,_time,null()))) as last_view by dest_ip src_ip
| eventstats sum(writes) as total_writes min(first_write) as first_write_any values(eval(if(writes>0,src_ip,null()))) as writers by dest_ip
| where views>0 AND writes=0 AND total_writes>0 AND last_view>first_write_any
| eval first_write_any=strftime(first_write_any,"%F %T"), last_view=strftime(last_view,"%F %T")
| table dest_ip writers src_ip views total_writes first_write_any last_viewMicrosoft KQL
let Writes = _Im_WebSession(starttime=ago(24h), endtime=now())
| where HttpRequestMethod in ("POST", "PUT")
| where url_decode(url_decode(Url)) matches regex @"(?i)(\x3c\s*script|\x3c\s*(img|svg|iframe|body|a|div|input|details|marquee)\b[^\x3e]*\bon[a-z]+\s*=|\bon(mouseover|mouseenter|mouseout|mousemove|focus|error|load|click)\s*=|javascript\s*:)"
| project WriteTime=TimeGenerated, Writer=SrcIpAddr, DstIpAddr, WriteUrl=Url;
_Im_WebSession(starttime=ago(24h), endtime=now())
| where HttpRequestMethod == "GET" and EventResultDetails in ("200", "304")
| join kind=inner Writes on DstIpAddr
| where TimeGenerated > WriteTime and SrcIpAddr != Writer
| summarize ViewCount=count(), Viewers=make_set(SrcIpAddr, 20), FirstView=min(TimeGenerated) by DstIpAddr, Writer, WriteTime, WriteUrlSigma
title: PLC Web Server Markup Write
name: plc_web_markup_write
id: 5b1f0c2e-8d34-4a6b-9c71-3e2a4f6d2001
status: experimental
description: Write request carrying script markup to a web server (stored XSS planting, CVE-2025-13902).
author: Threadlinqs Team
date: 2026-10-24
tags:
- attack.collection
- attack.t1185
- attack.execution
- attack.t1204
- cve.2025.13902
logsource:
category: proxy
detection:
selection:
cs-method:
- POST
- PUT
c-uri|contains:
- '<script'
- '%3Cscript'
- 'onmouseover='
- 'onerror='
- 'javascript:'
condition: selection
falsepositives:
- Authorized web scanning
level: medium
---
title: PLC Web Server Page View
name: plc_web_page_view
id: 5b1f0c2e-8d34-4a6b-9c71-3e2a4f6d2002
status: experimental
description: Successful page view of a web server; used only as the second step of the correlation below.
author: Threadlinqs Team
date: 2026-10-24
tags:
- attack.execution
- attack.t1204
logsource:
category: proxy
detection:
selection:
cs-method: GET
sc-status:
- 200
- 304
condition: selection
falsepositives:
- Normal browsing (only meaningful inside the correlation)
level: informational
---
title: CVE-2025-13902 Stored XSS Planted Then Viewed on Modicon Web Server
id: 5b1f0c2e-8d34-4a6b-9c71-3e2a4f6d2003
status: experimental
description: A write carrying script markup to a web host is followed within a day by page views of that host, the stored-XSS victim-trigger pattern for CVE-2025-13902. Same-source exclusion is not expressible in Sigma; use the SPL or KQL form for that.
author: Threadlinqs Team
date: 2026-10-24
tags:
- attack.collection
- attack.t1185
- attack.execution
- attack.t1204
- attack.initial-access
- attack.t1190
- attack.t1059.007
- attack.t1078
- cve.2025.13902
correlation:
type: temporal_ordered
rules:
- plc_web_markup_write
- plc_web_page_view
group-by:
- cs-host
timespan: 1d
level: mediumKnown false positives:
- Operators viewing a page right after an engineer edited it with HTML-like text
- Vulnerability scanners that post payloads then crawl the page
Tuning notes: Restrict to PLC web servers. Tune the 24h window. Add the writer account as a field if the log source provides it. Request-body markup requires stream:http, WAF or IDS logging.
- Modicon Controller Web Server Reachable From Public Source · unlock with TL Creds
- Credential Guessing Then Success Against Modicon Web Server · unlock with TL Creds
- Modicon Web Account Used From Multiple Sources · unlock with TL Creds
- Obfuscated XSS Markup Against Modicon Web Server · unlock with TL Creds
- Session Data Sent External From Internal Controller Page · unlock with TL Creds
- Authenticated Script Markup Write to Modicon Web Server · unlock with TL Creds
- CVE-2025-13902 Modicon Web Server XSS Markup in Request URI · unlock with TL Creds
- Browser Session Follow-On After Visiting Modicon Web Server · unlock with TL Creds
Indicators of compromise
As of 2026-10-28, Threadlinqs Intelligence tracks 13 indicators of compromise for TL-2026-4346.
Technical analysis
No in-the-wild exploitation or public PoC is stated in any source.
CVE-2025-13902 is an Improper Neutralization of Input During Web Page Generation (CWE-79) vulnerability in the web server of Schneider Electric Modicon controllers. Per the CVE record and NVD, an authenticated attacker can inject content so that a victim's browser executes arbitrary JavaScript when the victim hovers over a maliciously crafted element hosted on the affected web server. The CVE was reserved on 2025-12-02 and published on 2026-03-10; NVD was last modified on 2026-06-23.
Scoring: NVD lists CVSS 3.1 5.4 MEDIUM (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) and CVSS 4.0 5.1 MEDIUM (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N). The attack is network-reachable and low complexity, but requires low privileges (a valid account on the controller web server) and user interaction (the victim must hover over the crafted element). Scope is changed because the script executes in the victim's browser context rather than on the controller, with limited confidentiality and integrity impact and no availability impact.
Affected products according to the CVE record/NVD: Modicon M241 and M251 firmware prior to 5.4.13.12, and Modicon M258 and LMC058 (all versions). The Claroty Team82 disclosure dashboard and the hunt skeleton name the M241/M251/M262 family; the CVE record does not list the M262 for this CVE, so M262 exposure should be confirmed against the vendor notice. Note also that the CVE record references SEVD-2026-069-02 while the Claroty page links SEVD-2026-069-01; the sibling vulnerability CVE-2025-13901 (CWE-404 partial denial of service over the Machine Expert protocol, CVSS 5.3) is covered by CISA ICSA-26-078-01 (released 2026-03-19) for M241/M251 before 5.4.13.12 and M262 before 5.4.10.12. The vendor PDFs could not be parsed as text during research, so fix and mitigation specifics beyond the version threshold are not independently confirmed.
Defensive relevance: although the XSS itself is Medium severity, it targets the engineering/HMI-style web interface of widely deployed PLCs. Exploitation would let an attacker with a low-privilege account pivot into an operator's or engineer's browser session. Exposure is reduced where controller web servers are not reachable from untrusted networks. No threat actor, malware, C2 infrastructure, exploitation in the wild, CISA KEV listing or public PoC is reported in the sources consulted.
MITRE ATT&CK techniques by tactic:
Execution
T1059.007 Command and Scripting Interpreter: JavaScript; T1204 User Execution
Initial Access
T1078 Valid Accounts; T1190 Exploit Public-Facing Application
Collection
Remediation
Patches
- Modicon M241/M251: update to firmware 5.4.13.12 or later via EcoStruxure Machine Expert per Schneider Electric notice SEVD-2026-069
Immediate actions
- Identify Modicon M241/M251 (firmware prior to 5.4.13.12) and M258/LMC058 controllers and restrict access to their web servers to trusted engineering networks only
- Review and minimize which accounts have access to the controller web server; rotate credentials for any shared or default accounts
- Avoid browsing controller web pages from the same browser profile used for other sensitive sessions
Workarounds
- Modicon M258/LMC058: all versions are listed as affected in the CVE record; no fixed version is stated in the sources reviewed, so apply the mitigations in the Schneider Electric notice and network isolation
Longer-term hardening
- Segment control networks and keep PLC web interfaces off the internet and corporate networks, behind firewalls and VPN for remote access
- Monitor HTTP requests to controller web servers for script content or unusual parameters
Affected and fixed versions
- Schneider Electric — Modicon M241 / M251 Controllers
Vulnerable versions: prior to 5.4.13.12
Fixed in: 5.4.13.12 - Schneider Electric — Modicon M258 / LMC058 Controllers
Vulnerable versions: all versions - Schneider Electric — Modicon M262 Controllers (named in Team82 disclosure; not listed in CVE record for this CVE)
Vulnerable versions: unconfirmed
Timeline
Last updated · revalidated 1× · latest source
- CVE-2025-13902 reserved (CVE record)
- CISA ADP records an SSVC assessment on the CVE record: Exploitation none, Automatable no, Technical Impact partial
- Firmware locked-ioc-1 is the first non-vulnerable version for Modicon M241/M251; M258/LMC058 listed as all versions affected
- Sibling Modicon vulnerability CVE-2025-13901 (CWE-404 partial DoS over Machine Expert protocol, CVSS 5.3) published the same day
- CVE-2025-13902 published; Schneider Electric security notice SEVD-2026-069 released for Modicon M241/M251 and M258/LMC058 (CWE-79 XSS, CVSS 5.4)
- CISA releases ICS advisory ICSA-26-078-02 covering CVE-2025-13902 for Modicon M241/M251/M258/LMC058, crediting Amir Zaltzman (Claroty Team82) and Schneider Electric CPCERT; no known public exploitation reported
- CISA releases ICSA-26-078-01 for Modicon M241/M251/M262 covering CVE-2025-13901 (credits Claroty Team82); it does not mention CVE-2025-13902
- NVD record for CVE-2025-13902 last modified with CVSS 3.1 5.4 and CVSS 4.0 5.1 scoring
- Tenable OT plugin 505937 published to detect vulnerable Modicon M241/M251/M258/LMC058 assets
- Tenable OT plugin 505937 last modified; still lists CVSS v3 5.4, v4 5.1 and no known exploitation
Update history
- 2026-10-28 — CVE-2025-13902: Stored/Reflected XSS (CWE-79) in Schneider Electric Modicon M241/M251/M262 Controllers: What changed No field escalation. Severity (MEDIUM), CVSS (5.4) and status are unchanged. The newer report lists exploitability as THEORETICAL against the existing NONE, which is not an escalation, so it was not applied.
Sources cited
- NVD - CVE-2025-13902 NVD (NIST) · Advisory · 2026-03-10
- CVE Record - CVE-2025-13902 MITRE · Advisory · 2026-03-10
- CISA ICSA-26-078-01 - Schneider Electric Modicon (sibling CVE-2025-13901) CISA · Government advisory · 2026-03-19
- Claroty Team82 Disclosure Dashboard - CVE-2025-13902 br.claroty.com · Research
- Schneider Electric Security Notice SEVD-2026-069-01 download.schneider-electric.com · Vendor report
- Schneider Electric Security Notice SEVD-2026-069-02 (referenced by CVE record) download.schneider-electric.com · Vendor report · 2026-03-10
- Tenable OT plugin 505937 - CVE-2025-13902 Tenable · News
Other reports on CVE-2025-13901
Previous and next in ics scada
- Energy & Utilities Cyber Exposure: Ransomware Loss Concentration (Resilience Report) and July 2026 Internet-Exposed PLC Attacks on US Water Utilities (Rockwell MicroLogix) Previous report
- CVE-2026-21660: Hardcoded Credentials in Johnson Controls Frick Controls Quantum HD Industrial Refrigeration Controller Next report
Drafted by the Threadlinqs research pipeline from 7 sources; published ; last updated .