CVE-2026-25789 Cross-site scripting in SIMATIC Drive Controller CPU 1504D TF
Remote attackers can execute malicious JavaScript via crafted filenames on the firmware update page, leading to session hijacking or credential theft.
- 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-2026-25789?
CVE-2026-25789 is a high-severity cross-site scripting vulnerability in Siemens SIMATIC Drive Controller CPU 1504D TF, published on 12 May 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
Affected devices do not properly validate and sanitize filenames on the Firmware Update page. This could allow a remote attacker to social engineer the user into selecting the modified firmware file to be uploaded. This would result in malitcious JavaScript execution in the context of the authenticated user's session without requiring the file to be uploaded, potentially leading to session hijacking or credential theft.
Weakness: CWE-79
Which versions are affected by CVE-2026-25789?
How do I fix CVE-2026-25789?
No fix has been published for CVE-2026-25789 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-25789 being exploited?
There is no known exploitation of CVE-2026-25789 in the wild and no public exploit code.
Sources
Also known as GHSA-r662-c7v7-m9h4.