{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-25787 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-25787 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-25787 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."},"fix_prompt":"Check this codebase for CVE-2026-25787 and fix it if it is affected.\n\nWhat it is: CVE-2026-25787 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.\nExploitation: There is no known exploitation of CVE-2026-25787 in the wild and no public exploit code.\n\nAffected product: Siemens SIMATIC Drive Controller CPU 1504D TF. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-25787/ (Markdown: https://insights.sbomify.com/CVE-2026-25787/index.md)","id":"CVE-2026-25787","markdown":"https://insights.sbomify.com/CVE-2026-25787/index.md","name":"CVE-2026-25787","record":{"aliases":["GHSA-6664-q64g-w92p"],"analysis":{"component_type":"ics_ot","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Siemens SIMATIC PLC","requires_auth":"high_privilege","summary":"An authenticated attacker can inject malicious scripts into the web interface, leading to code execution in the victim's session.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Affected devices do not properly validate and sanitize Technology Object (TO) name rendered on the \"Motion Control Diagnostics\" 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.\r\nIf a benign user with appropriate rights accesses the \"Motion Control Diagnostics\" parameters page, the malicious code would be executed in the scope of their web session.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Cross-site scripting in SIMATIC Drive Controller CPU 1504D TF","id":"CVE-2026-25787","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Cross-site scripting in SIMATIC Drive Controller CPU 1504D TF","id":"CVE-2026-25789"},"packages":[],"prev":{"headline":"Cross-site scripting in SIMATIC Drive Controller CPU 1504D TF","id":"CVE-2026-25786"},"products":["SIMATIC Drive Controller CPU 1504D TF","SIMATIC Drive Controller CPU 1507D TF","SIMATIC ET 200SP CPU 1510SP F-1 PN","SIMATIC ET 200SP CPU 1510SP-1 PN","SIMATIC ET 200SP CPU 1512SP F-1 PN","SIMATIC ET 200SP CPU 1512SP-1 PN","SIMATIC ET 200SP CPU 1514SP F-2 PN","SIMATIC ET 200SP CPU 1514SP-2 PN","SIMATIC ET 200SP CPU 1514SPT F-2 PN","SIMATIC ET 200SP CPU 1514SPT-2 PN","SIMATIC ET 200SP Open Controller CPU 1515SP PC (incl. SIPLUS variants)","SIMATIC ET 200SP Open Controller CPU 1515SP PC2 (incl. SIPLUS variants) V2 CPUs","SIMATIC ET 200SP Open Controller CPU 1515SP PC2 (incl. SIPLUS variants) V3 CPUs","SIMATIC ET 200SP Open Controller CPU 1515SP PC3 V4 CPUs","SIMATIC S7-1500 CPU 1511-1 PN","SIMATIC S7-1500 CPU 1511C-1 PN","SIMATIC S7-1500 CPU 1511F-1 PN","SIMATIC S7-1500 CPU 1511T-1 PN","SIMATIC S7-1500 CPU 1511TF-1 PN","SIMATIC S7-1500 CPU 1512C-1 PN","SIMATIC S7-1500 CPU 1513-1 PN","SIMATIC S7-1500 CPU 1513F-1 PN","SIMATIC S7-1500 CPU 1513pro F-2 PN","SIMATIC S7-1500 CPU 1513pro-2 PN","SIMATIC S7-1500 CPU 1515-2 PN","SIMATIC S7-1500 CPU 1515F-2 PN","SIMATIC S7-1500 CPU 1515T-2 PN","SIMATIC S7-1500 CPU 1515TF-2 PN","SIMATIC S7-1500 CPU 1516-3 PN/DP","SIMATIC S7-1500 CPU 1516F-3 PN/DP","SIMATIC S7-1500 CPU 1516T-3 PN","SIMATIC S7-1500 CPU 1516T-3 PN/DP","SIMATIC S7-1500 CPU 1516TF-3 PN","SIMATIC S7-1500 CPU 1516TF-3 PN/DP","SIMATIC S7-1500 CPU 1516pro F-2 PN","SIMATIC S7-1500 CPU 1516pro-2 PN","SIMATIC S7-1500 CPU 1517-3 PN","SIMATIC S7-1500 CPU 1517-3 PN/DP","SIMATIC S7-1500 CPU 1517F-3 PN","SIMATIC S7-1500 CPU 1517F-3 PN/DP","SIMATIC S7-1500 CPU 1517T-3 PN","SIMATIC S7-1500 CPU 1517T-3 PN/DP","SIMATIC S7-1500 CPU 1517TF-3 PN","SIMATIC S7-1500 CPU 1517TF-3 PN/DP","SIMATIC S7-1500 CPU 1518-3 PN","SIMATIC S7-1500 CPU 1518-4 PN/DP","SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","SIMATIC S7-1500 CPU 1518F-3 PN","SIMATIC S7-1500 CPU 1518F-4 PN/DP","SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","SIMATIC S7-1500 CPU 1518T-3 PN","SIMATIC S7-1500 CPU 1518T-4 PN/DP","SIMATIC S7-1500 CPU 1518TF-3 PN","SIMATIC S7-1500 CPU 1518TF-4 PN/DP","SIMATIC S7-1500 CPU S7-1518-4 PN/DP ODK","SIMATIC S7-1500 CPU S7-1518F-4 PN/DP ODK","SIMATIC S7-1500 ET 200pro: CPU 1513PRO F-2 PN","SIMATIC S7-1500 ET 200pro: CPU 1513PRO-2 PN","SIMATIC S7-1500 ET 200pro: CPU 1516PRO F-2 PN","SIMATIC S7-1500 ET 200pro: CPU 1516PRO-2 PN","SIMATIC S7-1500 Software Controller CPU 1507S F V2","SIMATIC S7-1500 Software Controller CPU 1507S F V3","SIMATIC S7-1500 Software Controller CPU 1507S F V4","SIMATIC S7-1500 Software Controller CPU 1507S V2","SIMATIC S7-1500 Software Controller CPU 1507S V3","SIMATIC S7-1500 Software Controller CPU 1507S V4","SIMATIC S7-1500 Software Controller CPU 1508S F V2","SIMATIC S7-1500 Software Controller CPU 1508S F V3","SIMATIC S7-1500 Software Controller CPU 1508S F V4","SIMATIC S7-1500 Software Controller CPU 1508S T V3","SIMATIC S7-1500 Software Controller CPU 1508S TF V3","SIMATIC S7-1500 Software Controller CPU 1508S V2","SIMATIC S7-1500 Software Controller CPU 1508S V3","SIMATIC S7-1500 Software Controller CPU 1508S V4","SIMATIC S7-1500 Software Controller Linux V2","SIMATIC S7-1500 Software Controller Linux V3","SIMATIC S7-PLCSIM Advanced","SIPLUS ET 200SP CPU 1510SP F-1 PN","SIPLUS ET 200SP CPU 1510SP F-1 PN RAIL","SIPLUS ET 200SP CPU 1510SP-1 PN","SIPLUS ET 200SP CPU 1510SP-1 PN RAIL","SIPLUS ET 200SP CPU 1512SP F-1 PN","SIPLUS ET 200SP CPU 1512SP F-1 PN RAIL","SIPLUS ET 200SP CPU 1512SP-1 PN","SIPLUS ET 200SP CPU 1512SP-1 PN RAIL","SIPLUS S7-1500 CPU 1511-1 PN","SIPLUS S7-1500 CPU 1511-1 PN T1 RAIL","SIPLUS S7-1500 CPU 1511-1 PN TX RAIL","SIPLUS S7-1500 CPU 1511F-1 PN","SIPLUS S7-1500 CPU 1513-1 PN","SIPLUS S7-1500 CPU 1513F-1 PN","SIPLUS S7-1500 CPU 1515F-2 PN","SIPLUS S7-1500 CPU 1515F-2 PN RAIL","SIPLUS S7-1500 CPU 1515F-2 PN T2 RAIL","SIPLUS S7-1500 CPU 1516-3 PN/DP","SIPLUS S7-1500 CPU 1516-3 PN/DP RAIL","SIPLUS S7-1500 CPU 1516-3 PN/DP TX RAIL","SIPLUS S7-1500 CPU 1516F-3 PN/DP","SIPLUS S7-1500 CPU 1516F-3 PN/DP RAIL","SIPLUS S7-1500 CPU 1518-4 PN/DP","SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","SIPLUS S7-1500 CPU 1518F-4 PN/DP"],"published":"2026-05-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["Siemens"]},"summary":"An authenticated attacker can inject malicious scripts into the web interface, leading to code execution in the victim's session.","url":"https://insights.sbomify.com/CVE-2026-25787/"}