Modicon PLC Firmware CVE-2025-13902
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege credentials for Modicon web interface
-
DeliveryAuthenticate and inject stored XSS payload into web UI field
-
ExploitVictim engineer browses affected PLC web page
-
ExecutionVictim hovers over malicious element triggering onmouseover handler
-
ImpactExfiltrate session tokens or engineering credentials from victim browser
Vulnerability Assessment
| Weakness |
CWE
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a valid authenticated session on the Modicon PLC web interface with at least low-privilege access (PR:L per CVSS 4.0 vector) - this is not exploitable by unauthenticated network attackers. The victim must interact passively with the web interface by hovering over the attacker-crafted element (UI:P), meaning the exploit fires on mouse-over rather than requiring a click, but does require a human user to be actively browsing the affected page. The Modicon embedded web server must be network-accessible from the attacker's position. What limits exploitation: the authenticated first-hop requirement, which presumes credential theft or insider access; the passive-hover interaction dependency, which is non-deterministic; and the absence of any direct impact on the PLC firmware, process control, or automation logic - impact is confined to the victim's browser session context. |
| Impact | Real-world risk is moderate-low in general terms but elevated in OT context. The CVSS 4.0 score of 5.1 and EPSS of 0.05% both reflect low broad exploitation likelihood. The PR:L requirement means an attacker must first obtain authenticated access to the PLC web interface - a meaningful barrier in well-segmented OT environments. The UI:P passive interaction (hover) is less reliable than zero-interaction XSS but still realistic in day-to-day engineering workflows. No public exploit has been identified and the CVE is not in CISA KEV. The primary elevated concern is the ICS/OT context: Modicon PLCs sit in critical manufacturing, utilities, and building automation environments where session hijacking or credential theft against an engineering workstation could pivot to physical process manipulation. The CVSS 4.0 vector correctly assigns no impact to the vulnerable PLC system itself (VC:N/VI:N/VA:N) and only limited subsequent-system impact (SC:L/SI:L), which is consistent with a browser-side XSS with no direct PLC command injection. No conflicting signals between CVSS and description - authentication and hover requirements are clearly stated in both. |
| Exploit ScenarioDerived | A malicious insider or attacker who has compromised a low-privilege engineering account authenticates to the Modicon PLC web interface and injects a JavaScript payload - for example, a credential-harvesting script - into a field that is stored and rendered in the PLC's web UI. When a senior engineer reviews plant status on the same web interface and moves their cursor over the injected element, the JavaScript fires silently in their browser, exfiltrating their active session cookie or SCADA credentials to an attacker-controlled endpoint. No public proof-of-concept is available, but the attack mechanics are standard stored XSS and require no specialized ICS tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 24, 2026
Cross-site scripting in Schneider Electric Modicon PLC embedded web servers (M258, LMC058, M251, M241) allows authenticated low-privilege attackers to inject persistent JavaScript payloads that execute in a victim engineer's browser upon hovering over a crafted element. In industrial OT environments, successful exploitation could compromise engineering workstation sessions, steal credentials used to configure programmable logic controllers, or manipulate displayed process data. No public exploit code exists and the CVE is absent from CISA KEV; EPSS at 0.05% (14th percentile) confirms low current exploitation likelihood, though the ICS context elevates operational consequence beyond what raw scores suggest.
Earlier versions of this analysis (1)
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability exists that could cause condition where authenticated attackers can have a victim’s browser run arbitrary JavaScript when the victim hovers over a maliciously crafted element on a web server containing the injected payload.
RemediationAI
Consult Schneider Electric security advisory SEVD-2026-069-02 for official firmware update guidance - no exact patched firmware version number is confirmed in available data and should be obtained directly from the advisory or Schneider Electric support. As immediate compensating controls: restrict access to the Modicon web interface to dedicated engineering VLANs with firewall rules blocking TCP port 80/443 from general corporate or external networks, which eliminates the network-reachable attack surface without impacting PLC operation. If the web interface is not operationally required, disable it in the PLC configuration - note this removes remote diagnostics capability. Enforce multi-factor authentication or certificate-based access on engineering workstations to raise the bar for credential compromise that would enable the initial authenticated foothold. Monitor web interface access logs for unexpected authenticated sessions or unusual user agents as a detection compensating control.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the embedded HTTP web server exposed by Schneider Electric Modicon series PLCs - specifically M241, M251, M258, and LMC058 motion controllers. These devices run firmware that hosts a web interface used by engineers for configuration, diagnostics, and monitoring of industrial automation processes. CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates the firmware fails to sanitize or encode attacker-controlled input before rendering it in HTML responses, enabling script injection. The hover-triggered execution mechanism (UI:P in CVSS 4.0 passive interaction) points to an onmouseover or CSS hover-event handler abuse pattern, meaning the payload fires without an explicit click. CPE strings confirm all firmware revisions are potentially affected for M241 and M251 (wildcard version field), while M258 and LMC058 CPEs list a dash for the version, suggesting all known versions are in scope.
Know when Modicon M251 Firmware gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-accessible web interface with low-privilege auth and required hover interaction; scope changes to victim browser with limited credential/session confidentiality and integrity impact.
Primary rating from Vendor (se).
CVSS VectorVendor: se
Lifecycle Timeline
2DescriptionCVE.org
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability exists that could cause condition where authenticated attackers can have a victim’s browser run arbitrary JavaScript when the victim hovers over a maliciously crafted element on a web server containing the injected payload.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
More in Modicon M251 Firmware
View allA Use of Insufficiently Random Values issue was discovered in Schneider Electric Modicon PLCs Modicon M241, firmware ver
An Insufficiently Protected Credentials issue was discovered in Schneider Electric Modicon PLCs Modicon M241, all firmwa
A CWE-345: Insufficient Verification of Data Authenticity vulnerability exists which could allow the attacker to execute
Partial Denial of Service against Schneider Electric Modicon M241, M251, and M262 programmable logic controllers (PLCs)
A CWE-306: Missing Authentication for Critical Function vulnerability exists which could cause a modification of device
A CWE-319: Cleartext Transmission of Sensitive Information vulnerability exists which could leak sensitive information t
Improper Input Validation vulnerability exists in Modicon M241/M251 logic controllers firmware prior to V5.1.9.1 that co
Scripting') vulnerability exists that could cause a vulnerability leading to a cross-site scripting condition where atta
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB