Home / Siemens / Simatic S7-1200 Firmware / CVE-2012-3040
CVE-2012-3040: is it exploited, and which versions of Siemens Simatic S7-1200 Firmware are affected and fixed?
CVE-2012-3040 is a cross-site scripting (XSS) vulnerability in Siemens Simatic S7-1200 Firmware. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: simatic s7-1200 firmware from 2.0.0 before 3.0.2, simatic s7-1200 cpu 1211c firmware from 2.0.0 before 3.0.2, simatic s7-1200 cpu 1212c firmware from 2.0.0 before 3.0.2 and 6 more (NVD). Fixed in 3.0.2 (NVD). Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-3040?
Cross-site scripting (XSS) vulnerability in the web server on Siemens SIMATIC S7-1200 PLCs 2.x through 3.0.1 allows remote attackers to inject arbitrary web script or HTML via a crafted URI.
From the CVE record by icscert, last updated May 23, 2025, 18:26 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| siemens | simatic s7-1200 firmware | from 2.0.0 before 3.0.2 | operating system |
| siemens | simatic s7-1200 cpu 1211c firmware | from 2.0.0 before 3.0.2 | operating system |
| siemens | simatic s7-1200 cpu 1212c firmware | from 2.0.0 before 3.0.2 | operating system |
| siemens | simatic s7-1200 cpu 1212fc firmware | from 2.0.0 before 3.0.2 | operating system |
| siemens | simatic s7-1200 cpu 1214 fc firmware | from 2.0.0 before 3.0.2 | operating system |
| siemens | simatic s7-1200 cpu 1214c firmware | from 2.0.0 before 3.0.2 | operating system |
| siemens | simatic s7-1200 cpu 1215 fc firmware | from 2.0.0 before 3.0.2 | operating system |
| siemens | simatic s7-1200 cpu 1215c firmware | from 2.0.0 before 3.0.2 | operating system |
| siemens | simatic s7-1200 cpu 1217c firmware | from 2.0.0 before 3.0.2 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 23:42 UTC.
How severe is CVE-2012-3040?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-3040 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.56% probability of exploitation activity in the next 30 days, percentile 85.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- 50816 third-party-advisory
- http://www.us-cert.gov/control_systems/pdf/ICSA-12-283-01.pdf
- http://www.siemens.com/corporate-technology/pool/de/forschungsfelder/siemens_security_advisory_ssa-279823.pdf
- 86130 vdb-entry
- http://en.securitylab.ru/lab/PT-2012-50
When was it published, and where is the official record?
- Reserved
- May 30, 2012
- Published
- October 10, 2012, 18:00 UTC
- CVE record updated
- May 23, 2025, 18:26 UTC by icscert
- NVD
- Modified, last modified June 16, 2026, 23:42 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Simatic S7-1200 Firmware?
- Apr 22, 2013CVE-2013-2780 Siemens Simatic S7-1200 Firmware: n/a
- Apr 22, 2013CVE-2013-0700 Siemens Simatic S7-1200 Firmware: n/a
- Sep 25, 2012CVE-2012-3037 Siemens Simatic S7-1200 Firmware: improper certificate validation
Every CVE in Simatic S7-1200 Firmware
Questions about CVE-2012-3040
Is CVE-2012-3040 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 2.56% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Siemens Simatic S7-1200 Firmware are affected by CVE-2012-3040?
simatic s7-1200 firmware from 2.0.0 before 3.0.2, simatic s7-1200 cpu 1211c firmware from 2.0.0 before 3.0.2, simatic s7-1200 cpu 1212c firmware from 2.0.0 before 3.0.2, simatic s7-1200 cpu 1212fc firmware from 2.0.0 before 3.0.2, simatic s7-1200 cpu 1214 fc firmware from 2.0.0 before 3.0.2, simatic s7-1200 cpu 1214c firmware from 2.0.0 before 3.0.2 and 3 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-3040?
3.0.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-3040?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-3040?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.