CVE-2025-13902 Cross-site scripting in Modicon Controllers M241/M251

Medium 5.1 Published Updated

Authenticated attackers can execute arbitrary JavaScript in victims' browsers via stored XSS in Schneider Electric Modicon controllers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-13902?

CVE-2025-13902 is a medium-severity cross-site scripting vulnerability in Schneider Electric Modicon Controllers M241/M251, published on 10 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2025-13902?

It affects 4 products.

Products include Schneider-Electric Modicon Lmc058 Firmware, Schneider-Electric Modicon M241 Firmware, Schneider-Electric Modicon M251 Firmware, Schneider-Electric Modicon M258 Firmware.

How do I fix CVE-2025-13902?

No fix has been published for CVE-2025-13902 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-13902 being exploited?

There is no known exploitation of CVE-2025-13902 in the wild and no public exploit code.

Sources

Also known as GHSA-pm47-v83p-5qpg.

Is CVE-2025-13902 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free