Skip to main content
Mallory
CriticalVulnerability

CVE-2025-40943: Stored XSS via Trace File Import in Siemens SIMATIC Diagnostics

Published Mar 10, 2026 · Updated 5 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.4Critical · v4
EPSS0.54%39th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Siemens
IdentifiersCVE-2025-40943CWE-79 · Improper Neutralization of Input…

CVE-2025-40943 is an improper input neutralization vulnerability in Siemens SIMATIC industrial automation devices that affects the handling of diagnostic trace files. The affected devices do not properly sanitize the contents of imported trace files. An attacker can craft a malicious trace file and, through social engineering, induce an authorized user with the "Read diagnostics" function right to import it. When the trace file is processed, attacker-controlled script content can execute in the user’s browser session within the device web interface. Because the script runs in the context of the legitimate user’s authenticated session, it can invoke PLC-related operations exposed by the web server with that user’s existing privileges.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation results in cross-site scripting in the browser session of an authenticated and authorized user. This can allow an attacker to perform actions through the device web interface as that user, including triggering PLC operations that the compromised session is permitted to execute. Depending on the victim user’s assigned rights, this may affect control integrity, enable unauthorized operational changes, and expose session-context data available to the web application.

Mitigation

If you can’t patch tonight, do this now.

Restrict access to diagnostic functions and assign the "Read diagnostics" permission only to trusted users who require it. Prevent untrusted or externally supplied trace files from being imported into affected systems. Limit exposure of device web interfaces to trusted management networks, enforce strong administrative separation, and monitor for unusual diagnostic import activity. Where immediate patching is not possible, follow Siemens compensating controls and hardening guidance for affected SIMATIC platforms.

Remediation

Patch, then assume compromise.

Apply Siemens-provided fixes and upgrade affected products to remediated versions where available. The available advisory information indicates that affected SIMATIC S7-1500 and certain listed ET 200SP CPU variants should be upgraded to version 4.1.2 or later where applicable. For product variants listed as affected in all versions, follow Siemens vendor guidance for the specific platform, including any firmware, software, or web interface updates released to correct trace file sanitization.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
SiemensSimatic S7-1500hardware
FAQ

Frequently asked questions

Is CVE-2025-40943 exploited in the wild?
As of Nov 23, 2026, Mallory has no reports of CVE-2025-40943 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-40943?
As of Nov 23, 2026, Mallory has found no public exploit for CVE-2025-40943.
Is there a patch for CVE-2025-40943?
Apply Siemens-provided fixes and upgrade affected products to remediated versions where available. The available advisory information indicates that affected SIMATIC S7-1500 and certain listed ET 200SP CPU variants should be upgraded to version 4.1.2 or later where applicable.
What products are affected by CVE-2025-40943?
Siemens Simatic S7-1500.
How severe is CVE-2025-40943?
CVE-2025-40943 has a CVSS v4 score of 9.4 (Critical) and an EPSS score of 0.54% (39th percentile) as of Nov 23, 2026.
Activity feed

Recent activity

5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.