CVE-2012-3040 siemens: Cross-site Scripting
siemens: no CVSS score yet. EPSS 2.6% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Vendor advisory: http://www.siemens.com/corporate-technology/pool/de/forschungsfelder/siemens_security_advisory_ssa-279823.pdf
Ask an AI about this CVE
Show the prompt
Explain CVE-2012-3040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-3040?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-3040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-3040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
- siemens:simatic_s7-1200_cpu_1211c_firmware
- siemens:simatic_s7-1200_cpu_1212c_firmware
- siemens:simatic_s7-1200_cpu_1212fc_firmware
- siemens:simatic_s7-1200_cpu_1214_fc_firmware
- siemens:simatic_s7-1200_cpu_1214c_firmware
- siemens:simatic_s7-1200_cpu_1215_fc_firmware
- siemens:simatic_s7-1200_cpu_1215c_firmware
- siemens:simatic_s7-1200_cpu_1217c_firmware
- siemens:simatic_s7-1200_firmware
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| siemens:simatic_s7-1200_firmware | from 2.0.0 before 3.0.2 |
| siemens:simatic_s7-1200_cpu_1211c_firmware | from 2.0.0 before 3.0.2 |
| siemens:simatic_s7-1200_cpu_1212c_firmware | from 2.0.0 before 3.0.2 |
| siemens:simatic_s7-1200_cpu_1212fc_firmware | from 2.0.0 before 3.0.2 |
| siemens:simatic_s7-1200_cpu_1214_fc_firmware | from 2.0.0 before 3.0.2 |
| siemens:simatic_s7-1200_cpu_1214c_firmware | from 2.0.0 before 3.0.2 |
| siemens:simatic_s7-1200_cpu_1215_fc_firmware | from 2.0.0 before 3.0.2 |
| siemens:simatic_s7-1200_cpu_1215c_firmware | from 2.0.0 before 3.0.2 |
| siemens:simatic_s7-1200_cpu_1217c_firmware | from 2.0.0 before 3.0.2 |
ICS advisories (CISA)
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-12-283-01 | Siemens S7-1200 Web Application Cross Site Scripting | 2012-07-13 | Siemens SIMATIC S7-1200 PLC: V2.x, Siemens SIMATIC S7-1200 PLC: V3.0.0, Siemens SIMATIC S7-1200 PLC: V3.0.1 | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
Attack patterns (CAPEC)
- CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
- CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
- CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
- CAPEC-592 Stored XSS Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.