We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-53540

CSRF Vulnerability in Firmware Update Endpoints Allows Remote Code Execution



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.

Reserved 2025-07-02 | Published 2025-07-07 | Updated 2025-07-07 | Assigner GitHub_M


HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-352: Cross-Site Request Forgery (CSRF)

Product status

< 3.2.1
affected

References

github.com/...-esp32/security/advisories/GHSA-9vfw-wx65-c872

github.com/...ommit/f4fdecc60c465384e465a4b1d2bd1eac8f67912e

cve.org (CVE-2025-53540)

nvd.nist.gov (CVE-2025-53540)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-53540

Support options

Helpdesk Chat, Email, Knowledgebase