CVE-2025-53540

Source
https://cve.org/CVERecord?id=CVE-2025-53540
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53540.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-53540
Aliases
  • GHSA-9vfw-wx65-c872
Published
2025-07-07T19:26:12.503Z
Modified
2026-04-10T05:30:52.227630Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
CSRF Vulnerability in Firmware Update Endpoints Allows Remote Code Execution
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53540.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-352"
    ]
}
References

Affected packages

Git / github.com/espressif/arduino-esp32

Affected ranges

Type
GIT
Repo
https://github.com/espressif/arduino-esp32
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*
1.0.0
1.0.0-RC0
1.0.0-rc1
1.0.0-rc2
1.0.0-rc3
1.0.0-rc4
1.0.1
1.0.1-rc1
1.0.1-rc2
1.0.1-rc3
1.0.1-rc4
1.0.2
1.0.2-rc1
1.0.2-rc2
1.0.3
1.0.3-rc1
1.0.3-rc2
1.0.3-rc3
1.0.4
1.0.4-rc1
1.0.5
1.0.5-rc1
1.0.5-rc2
1.0.5-rc3
1.0.5-rc4
1.0.5-rc5
1.0.5-rc6
1.0.5-rc7
1.0.6
2.*
2.0.0
2.0.0-alpha1
2.0.0-rc1
2.0.0-rc2
2.0.1
2.0.2
2.0.3
2.0.3-RC1
2.0.4
2.0.5
2.0.6
3.*
3.0.0
3.0.0-alpha1
3.0.0-alpha2
3.0.0-alpha3
3.0.0-rc1
3.0.0-rc2
3.0.0-rc3
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.1.1
3.1.2
3.1.3
3.2.0
3.2.0-RC1
3.2.0-RC2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53540.json"