CVE-2026-25786 Cross-site scripting in SIMATIC Drive Controller CPU 1504D TF
An authenticated attacker can inject malicious scripts into the web interface, leading to code execution in the victim's session.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-25786?
CVE-2026-25786 is a critical cross-site scripting vulnerability in Siemens SIMATIC Drive Controller CPU 1504D TF, published on 12 May 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Affected devices do not properly validate and sanitize PLC/station name rendered on the "communication" parameters page of the web interface. This could allow an authenticated attacker who is authorized to download a TIA project into the product, to inject malicious scripts into the page. If a benign user with appropriate rights accesses the "communication" parameters page, the malicious code would be executed in the scope of their web session.
Weakness: CWE-79
Which versions are affected by CVE-2026-25786?
How do I fix CVE-2026-25786?
No fix has been published for CVE-2026-25786 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-2026-25786 being exploited?
There is no known exploitation of CVE-2026-25786 in the wild and no public exploit code.
Sources
Also known as GHSA-mg8g-5fc8-4fqp.