Cross-Site Request Forgery Vulnerability in Arduino Core for ESP32 Microcontrollers
CVE-2025-53540

8.7HIGH

Key Information:

Vendor

Espressif

Vendor
CVE Published:
7 July 2025

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

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-53540 : Cross-Site Request Forgery Vulnerability in Arduino Core for ESP32 Microcontrollers