Cross-Site Request Forgery Vulnerability in Arduino Core for ESP32 Microcontrollers
CVE-2025-53540
8.7HIGH
What is CVE-2025-53540?
The Arduino core for ESP32, which supports various ESP32 microcontrollers, has a vulnerability in the Over-The-Air (OTA) update mechanism. Specifically, the HTTPUpdateServer implementation lacks CSRF protection for POST requests used to upload firmware. This oversight allows an attacker to exploit the vulnerability by uploading malicious firmware, potentially leading to remote code execution on affected devices. The issue has been resolved in version 3.2.1.
Affected Version(s)
arduino-esp32 < 3.2.1