# CVE-2026-25787: Siemens SIMATIC S7 PLCs XSS in Motion Control Diagnostics

Source: https://junglewise.ai/threats/cve-2026-25787-siemens-simatic-s7-plcs-xss-in-motion-control-diagnostics  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-12. Updated: 2026-07-14  
License: CC BY 4.0 with a link back

CVE-2026-25787 · Severity: critical · CVSS 9.1 · Published 2026-05-12

Siemens SIMATIC S7-1500 and related industrial controllers contain a security vulnerability in their built-in web management interface. An attacker with the ability to download projects to the controller can inject malicious code that executes when an administrator views the diagnostics page. This could lead to the theft of administrative session credentials or unauthorized control over the device's web-based management functions.

Technologies: [Siemens SIMATIC Drive Controller CPU 1504D TF](https://junglewise.ai/threats/technologies/simatic-drive-controller-cpu-1504d-tf), [Siemens SIMATIC Drive Controller CPU 1507D TF](https://junglewise.ai/threats/technologies/simatic-drive-controller-cpu-1507d-tf), [Siemens SIMATIC ET 200SP CPU 1510SP F-1 PN](https://junglewise.ai/threats/technologies/simatic-et-200sp-cpu-1510sp-f-1-pn), [Siemens SIMATIC ET 200SP Open Controller CPU 1515SP PC2](https://junglewise.ai/threats/technologies/simatic-et-200sp-open-controller-cpu-1515sp-pc2), [Siemens SIMATIC S7-1500 CPU family](https://junglewise.ai/threats/technologies/simatic-s7-1500-cpu-family). Vendors: [Siemens](https://junglewise.ai/threats/vendors/siemens).

## Quick answers

**Is CVE-2026-25787 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-25787 being exploited in the wild.

**How severe is CVE-2026-25787?** Critical severity, with a CVSS score of 9.1, published 12 May 2026.

**Which products and versions are affected?** Siemens SIMATIC Drive Controller CPU 1504D TF < V3.1.6; Siemens SIMATIC Drive Controller CPU 1507D TF < V3.1.6; Siemens SIMATIC Drive Controller family All versions < V3.1.6; Siemens SIMATIC ET 200SP CPU 1510SP F-1 PN All versions < V2.9.9 (for 6ES7510-1SJ01-0AB0); and 5 more.

**Is there a fix for CVE-2026-25787?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-25787 attacked?** It is attacked over the network, in an operating system.

**Am I affected by CVE-2026-25787?** Check whether you run Siemens SIMATIC Drive Controller CPU 1504D TF, Siemens SIMATIC Drive Controller CPU 1507D TF, Siemens SIMATIC Drive Controller family or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored Cross-Site Scripting (XSS) vulnerability exists in the web server of multiple Siemens SIMATIC S7 PLC families, including S7-1500 and ET 200SP. The vulnerability is caused by improper validation and sanitization of Technology Object (TO) names rendered on the 'Motion Control Diagnostics' page. An authenticated attacker with privileges to download a TIA project to the PLC can use a specially crafted TO name to inject malicious scripts. When a legitimate user with appropriate rights accesses the affected diagnostics page, the script executes within their browser session. This can result in a full compromise of the user's web session, potentially allowing the attacker to perform administrative actions or escalate privileges. Siemens has released firmware updates for several product lines to address this issue.

## Affected products

- Siemens SIMATIC S7-1500 CPU family All versions < V2.9.9 or < V4.1.6 (depending on model)
- Siemens SIMATIC Drive Controller family All versions < V3.1.6
- Siemens SIMATIC ET 200SP CPU family All versions < V2.9.9 or < V4.1.6 (depending on model)
- Siemens SIMATIC ET 200SP Open Controller All versions

## Timeline

- 2026-05-12: disclosed
- 2026-05-12: advisory
- 2026-07-14: other: Advisory updated by Siemens

## References

- [https://cert-portal.siemens.com/productcert/html/ssa-688146.html](https://cert-portal.siemens.com/productcert/html/ssa-688146.html)

## Related threats

- [Siemens SIMATIC S7 PLC web server cross-site scripting](https://junglewise.ai/threats/cve-2026-63357-affected-devices-do-not-properly-sanitize-calculated-signal-data)
- [Siemens SIMATIC S7 PLC stored XSS in trace file import](https://junglewise.ai/threats/cve-2026-63356-affected-devices-do-not-properly-sanitize-calculated-signal-names)
- [Siemens SIMATIC S7 PLCs stored XSS in trace file import](https://junglewise.ai/threats/cve-2026-63355-affected-devices-do-not-properly-sanitize-signal-names-contained)
- [Siemens SIMATIC S7-1500 XSS in trace file import](https://junglewise.ai/threats/cve-2026-63354-affected-devices-do-not-properly-validate-and-sanitize-visual)
- [Siemens SIMATIC S7 web server stored XSS in trace import](https://junglewise.ai/threats/cve-2026-63353-affected-devices-do-not-properly-sanitize-comment-fields)
