Advanced Custom Fields <= 5.12.2 - File Upload

Missing Authorization
CVE CVE-2022-2594
CVSS 4.3 (Medium)
Publicly Published July 14, 2022
Last Updated January 22, 2024
Researcher James Golovich


The Advanced Custom Fields plugin for WordPress has a file upload vulnerability in versions up to, and including, 5.12.2. This allows users without the upload_files capability, such as contributors, or unauthenticated users in cases where a frontend form is added to the site, to upload allowed file types. The upload is handled by WordPress so file type and extension checks still occur, though this could potentially be used by high-privileged users in certain locked-down configurations to bypass other security mechanisms and upload dangerous file types.



1 affected software package

Software Type Plugin
Software Slug advanced-custom-fields (view on
Patched? Yes
Remediation Update to version 5.12.3, or a newer patched version
Affected Version
  • <= 5.12.2
Patched Version
  • 5.12.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.