CVE-2025-53540 in Arduino products
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 pr...
Affects 0 products from 1 vendor. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Arduino | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-53540 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-263384-I |
| Published | 2025-07-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-352: Cross-Site Request Forgery (CSRF)
Web application does not verify that a request was intentionally sent by the authenticated user.
Related attack patterns (CAPEC)
CAPEC-462 Cross-Domain Search Timing via CWE-352
CAPEC-467 Cross Site Identification via CWE-352
CAPEC-62 Cross Site Request Forgery via CWE-352
CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-352
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Several OTA update examples and the HTTPUpdateServer implementation in the arduino-esp32 core are vulnerable to Cross-Site Request Forgery (CSRF), allowing an attacker to upload and execute arbitrary firmware.
The vulnerability lies in the lack of CSRF protection for the update endpoints that accept POST requests for firmware uploads. An attacker can exploit this by tricking a user into submitting a malicious request to the update endpoint, leading to the upload and execution of arbitrary firmware.
Questions
What is CVE-2025-53540?
Several OTA update examples and the HTTPUpdateServer implementation in the arduino-esp32 core are vulnerable to Cross-Site Request Forgery (CSRF), allowing an attacker to upload and execute arbitrary firmware.
Is CVE-2025-53540 actively exploited?
No confirmed active exploitation of CVE-2025-53540 as of 2026-09-25.
How do I remediate CVE-2025-53540?
Priority: HIGH.
What systems are affected by CVE-2025-53540?
CVE-2025-53540 affects Arduino.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Arduino","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.