CVE-2025-53540 Details
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.
A Cross-Site Request Forgery (CSRF) vulnerability has been identified in the Arduino core for ESP32 microcontrollers, specifically in the Over-The-Air (OTA) update process. This issue affects versions prior to 3.2.1 and is present in several example sketches and the HTTPUpdateServer implementation. The vulnerability arises because the firmware update endpoints accept POST requests for firmware uploads without any CSRF protection. As a result, an attacker can exploit this weakness to upload and execute arbitrary firmware on the device, leading to remote code execution (RCE).
Users are advised to update to version 3.2.1 or later, which addresses this vulnerability by implementing CSRF protection on the OTA update endpoints. Additionally, the updated version requires authentication for firmware uploads, further mitigating the risk of exploitation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 7, 2025CISA-ADP
Assessed Jul 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/espressif/arduino-esp32/commit/f4fdecc60c465384e465a4b1d2bd1eac8f67912e | [email protected] | Source CodeVendor |
| https://github.com/espressif/arduino-esp32/security/advisories/GHSA-9vfw-wx65-c872 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-352 | Cross-Site Request Forgery (CSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| espressif arduino-esp32 | < 3.2.1 (semver) |
CPE
Remediation
| |
| espressif HTTPUpdateServer | All versions |
CPE
Remediation
| |
| espressif OTAWebUpdater | All versions |
CPE
Remediation
| |
| espressif WebUpdate | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 7, 2025 | New CVE Received | [email protected] |
Volerion