OpenPLC V3 Cross-Site Request Forgery Vulnerability

Vulnerability

A cross-site request forgery (CSRF) vulnerability has been identified in OpenPLC V3, prior to pull request #310. The issue arises from inadequate CSRF protection, allowing an unauthenticated attacker to manipulate a logged-in administrator into clicking a malicious link. This could result in unauthorized changes to PLC settings or the introduction of harmful programs, potentially causing significant disruption or damage to connected systems.

Impact

Exploitation of this vulnerability could lead to unauthorized modifications of PLC settings or the upload of malicious programs, causing considerable disruption or damage to connected systems.

Reproduction

To reproduce this vulnerability, an attacker must craft a link that exploits the CSRF weakness. This link should be designed to manipulate a logged-in administrator's session, taking advantage of the lack of proper CSRF validation. Once the link is clicked, the attacker can unauthorizedly change PLC settings or upload harmful programs.

Remediation

Users are advised to update OpenPLC V3 to pull request #310 or later from the main GitHub repository.

Added: Dec 13, 2025, 1:17 AM
Updated: Dec 13, 2025, 1:17 AM

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
5.0
exploitability
7.0
remediation
7.7
relevance
1.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.