Vulnerability Description
arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 microcontrollers. Several OTA update examples and the HTTPUpdateServer implementation are vulnerable to Cross-Site Request Forgery (CSRF). The update endpoints accept POST requests for firmware uploads without CSRF protection. This allows an attacker to upload and execute arbitrary firmware, resulting in remote code execution (RCE). This vulnerability is fixed in 3.2.1.
Related Weaknesses (CWE)
References
- https://github.com/espressif/arduino-esp32/commit/f4fdecc60c465384e465a4b1d2bd1e
- https://github.com/espressif/arduino-esp32/security/advisories/GHSA-9vfw-wx65-c8
FAQ
What is CVE-2025-53540?
CVE-2025-53540 is a documented vulnerability. arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 microcontrollers. Several OTA update examples and the HTTPUpdateServer implementation are vulnerable...
How severe is CVE-2025-53540?
CVSS scoring is not yet available for CVE-2025-53540. Check NVD for updates.
Is there a patch for CVE-2025-53540?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.