Skip to main content

Modicon PLC Firmware CVE-2025-13902

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-10 cybersecurity@se.com
5.1
CVSS 4.0 · Vendor: se
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege credentials for Modicon web interface
  2. Delivery
    Authenticate and inject stored XSS payload into web UI field
  3. Exploit
    Victim engineer browses affected PLC web page
  4. Execution
    Victim hovers over malicious element triggering onmouseover handler
  5. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 12, 2026 - 21:55

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

Vendor (se) PRIMARY 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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (se).

CVSS VectorVendor: se

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Jun 23, 2026 - 15:53 NVD
5.1 (MEDIUM)
CVE Published
Mar 10, 2026 - 18:17 nvd
N/A

DescriptionCVE.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

EPSS Score
0.0%
Top 86% exploitable
Prevalence
Medium
widely used Schneider Electric PLCs in global industrial automation
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

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

cpe:2.3:o:schneider-electric:modicon_m258_firmware:-:*:*:*:*:*:*:*
cpe:2.3:o:schneider-electric:modicon_lmc058_firmware:-:*:*:*:*:*:*:*
cpe:2.3:o:schneider-electric:modicon_m251_firmware:*:*:*:*:*:*:*:*
cpe:2.3:o:schneider-electric:modicon_m241_firmware:*:*:*:*:*:*:*:*

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy