Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13902: CWE-79 Improper neutralization of input during web page generation ('cross-site scripting') in Schneider Electric Modicon Controllers M241/M251

0
Medium
VulnerabilityCVE-2025-13902cvecve-2025-13902cwe-79
Published: Tue Mar 10 2026 (03/10/2026, 17:06:00 UTC)
Source: CVE Database V5
Vendor/Project: Schneider Electric
Product: Modicon Controllers M241/M251

Description

CVE-2025-13902 is a medium-severity cross-site scripting (XSS) vulnerability affecting Schneider Electric Modicon Controllers M241 and M251 prior to version 5. 4. 13. 12. It arises from improper neutralization of input during web page generation, allowing authenticated attackers to inject malicious JavaScript. The attack requires the victim to interact by hovering over a crafted element on the affected web interface, which then executes the injected script in the victim's browser. This vulnerability does not require user authentication to be bypassed but does require the attacker to have some level of authenticated access to the device. Exploitation can lead to session hijacking, unauthorized actions, or information disclosure within the context of the victim’s browser session. No known exploits are currently reported in the wild. Organizations using these Schneider Electric controllers should prioritize patching to prevent potential exploitation.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/17/2026, 19:30:14 UTC

Technical Analysis

CVE-2025-13902 is a cross-site scripting (XSS) vulnerability classified under CWE-79, found in Schneider Electric Modicon Controllers M241 and M251 models running firmware versions prior to 5.4.13.12. The flaw stems from improper input sanitization during the generation of web pages served by the controller’s embedded web server. Authenticated attackers can inject malicious JavaScript code into the web interface, which executes when a victim user hovers over a maliciously crafted element. This vulnerability leverages the victim’s browser to run arbitrary scripts, potentially enabling session hijacking, unauthorized command execution within the web interface, or theft of sensitive information accessible via the browser session. The attack vector requires the attacker to have authenticated access to the controller’s web interface, but no additional user interaction beyond hovering is needed. The CVSS v4.0 base score is 5.1 (medium), reflecting network attack vector, low attack complexity, no privileges required beyond authentication, and partial scope impact. The vulnerability affects industrial control systems widely used in manufacturing, energy, and critical infrastructure sectors. No public exploits have been reported yet, but the potential for targeted attacks against operational technology environments exists. The vulnerability highlights the importance of secure coding practices in embedded web interfaces of industrial devices.

Potential Impact

The impact of CVE-2025-13902 is significant for organizations relying on Schneider Electric Modicon M241 and M251 controllers, especially in industrial and critical infrastructure environments. Successful exploitation can lead to unauthorized execution of JavaScript in the context of a legitimate user’s browser session, potentially allowing attackers to hijack sessions, manipulate controller settings, or exfiltrate sensitive data. This can disrupt industrial processes, cause operational downtime, or facilitate further attacks within the network. Since these controllers are often part of supervisory control and data acquisition (SCADA) systems, the vulnerability could indirectly affect the availability and integrity of critical infrastructure such as manufacturing plants, energy grids, and water treatment facilities. Although exploitation requires authenticated access, insider threats or compromised credentials could enable attackers to leverage this vulnerability. The lack of known exploits currently reduces immediate risk, but the medium severity score and the strategic importance of affected systems warrant prompt remediation to prevent escalation.

Mitigation Recommendations

To mitigate CVE-2025-13902, organizations should immediately upgrade Schneider Electric Modicon M241 and M251 controllers to firmware version 5.4.13.12 or later, where the vulnerability is addressed. If patching is not immediately feasible, restrict access to the controller’s web interface to trusted networks and users only, employing network segmentation and strong access controls. Implement multi-factor authentication (MFA) for all users accessing the device to reduce the risk of credential compromise. Monitor logs for unusual authenticated activity that could indicate attempts to exploit this vulnerability. Additionally, disable or limit the use of web interface features that allow user input or interaction if possible. Security teams should conduct regular vulnerability assessments and penetration testing on industrial control systems to detect similar input validation issues. Finally, educate operational technology personnel about the risks of XSS and the importance of cautious interaction with web interfaces in industrial environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
schneider
Date Reserved
2025-12-02T16:20:41.599Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b05626ea502d3aa87d6870

Added to database: 3/10/2026, 5:34:30 PM

Last enriched: 3/17/2026, 7:30:14 PM

Last updated: 4/28/2026, 7:26:54 AM

Views: 63

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses