CVE-2020-12517
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedOn Phoenix Contact PLCnext Control Devices versions before 2021.0 LTS an authenticated low privileged user could embed malicious Javascript code to gain admin rights when the admin user visits the vulnerable website (local privilege escalation).
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA stored Cross-Site Scripting (XSS) vulnerability in the Phoenix Contact PLCnext Control web interface allows an authenticated low-privileged user to inject malicious JavaScript that executes when an admin user views the affected page, enabling privilege escalation to admin rights.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 2021.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify PLCnext Control device on networkAccess the device web interface via its IP address (typically https://<device-ip>) and locate the firmware version in System Information or About section of the web UIAffected if Device is accessible and responds on web ports (80/443)
-
Check installed firmware versionIn the web interface, navigate to System > Overview or Administration > System Info and locate the firmware version numberAffected if Firmware version shown is earlier than 2021.0 (e.g., 2020.x, 2019.x, etc.)
-
Verify web interface is enabledCheck device network settings via SSH or the web UI to confirm the HTTP/HTTPS web server is running on ports 80/443Affected if Web interface is active and accepting connections
-
Confirm low-privileged user accounts existNavigate to User Administration or Users section in the web interface and list accounts with role-based access (non-admin users)Affected if Any user account with limited/operator role exists in addition to admin accounts
-
Identify user-editable fields in web interfaceNavigate through web interface pages where users can submit content (project names, device descriptions, comments, etc.) and note where input fields accept user-supplied textAffected if Web interface contains input fields visible to other users or admins
The environment is affected if the PLCnext firmware version is below 2021.0 AND the web interface is accessible with multiple user roles present, allowing a low-privileged user to inject malicious script into a field that admins view.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2021.0
Upgrade to PLCnext Control version 2021.0 LTS or later. If immediate upgrade is not possible, implement strict input validation and output encoding on all user-supplied fields, and consider restricting low-privileged user access to the web interface until the patch is applied.
2021.0 LTS
- Back up the current PLCnext Control device configuration and project files
- Download the firmware version 2021.0 LTS from the official Phoenix Contact support website (cert.vde.com or phoenixcontact.com)
- Access the web-based management interface of the PLCnext device
- Navigate to the firmware update section in the administration settings
- Upload and install the 2021.0 LTS firmware file following the on-screen instructions
- Allow the device to reboot and complete the firmware update process
- Verify the upgrade was successful by checking the firmware version in the web interface
- Confirm the XSS vulnerability is resolved by logging in as both admin and low-privileged users
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,408.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2020-12517 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2020-12517 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data