Cross-site Request Forgery (CSRF) Affecting espressif/arduino-esp32 package, versions [,3.2.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.3% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ESPRESSIFARDUINOESP32-10734083
  • published13 Jul 2025
  • disclosed7 Jul 2025
  • creditJonathan Leitschuh

Introduced: 7 Jul 2025

CVE-2025-53540  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade espressif/arduino-esp32 to version 3.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via the HTTPUpdateServer process. An attacker can execute arbitrary code by sending crafted POST requests to the firmware update endpoints without proper CSRF protection.

References

CVSS Base Scores

version 4.0
version 3.1