Strategic Overview
- Status
- Patched in 5.12.3
- Affected Plugin
- Advanced Custom Fields (ACF®)
- Affected Version
<= 5.12.2- CVSS
- 4.3Medium
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2022-2594
At a glance
CVE-2022-2594 is a medium-severity Missing Authorization vulnerability in the Advanced Custom Fields (ACF®) WordPress plugin, affecting versions <= 5.12.2. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). The issue is fixed in version 5.12.3; sites on affected versions should update now. Disclosed July 2022, reported by James Golovich.
Vulnerability Overview
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.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-862: Missing Authorization
Reaching this weakness in Advanced Custom Fields (ACF®) <= 5.12.2 takes a caller who can reach the endpoint. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Advanced Custom Fields (ACF®) the fix is 5.12.3: builds <= 5.12.2 are affected, anything from 5.12.3 onward is not.
Remediation
Update to version 5.12.3, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Advanced Custom Fields (ACF®) 5.12.3 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
- 7.5CVE-2021-20865: Advanced Custom Fields <= 5.10 Information Disclosure
CVE-2021-20865 - 6.5CVE-2022-23183: Advanced Custom Fields <= 5.12 Information Disclosure
CVE-2022-23183 - 6.5CVE-2021-20866: Advanced Custom Fields <= 5.10 Information Disclosure
CVE-2021-20866 - 5.3CVE-2026-8382: Advanced Custom Fields Arbitrary Post Modification
CVE-2026-8382
Other vulnerabilities in Advanced Custom Fields (ACF®)
- 8.8CVE-2023-1196: Advanced Custom Fields <= 6.0.7 PHP Object Injection
CVE-2023-1196 - 6.4CVE-2023-6701: Advanced Custom Fields <= 6.2.4 Stored XSS
CVE-2023-6701 - 6.1CVE-2023-30777: Advanced Custom Fields 5.8.10… Reflected XSS
CVE-2023-30777 - 6.1CVE-2020-36172: Advanced Custom Fields <= 5.8.11 Cross-Site Scripting
CVE-2020-36172 - 5.5CVE-2024-45429: Advanced Custom Fields <= 6.3.5 Stored XSS
CVE-2024-45429 - 5.4Advanced Custom Fields <= 5.7.11 PHP Object Injection
- 5.4CVE-2018-20986: Advanced Custom Fields <= 5.7.7 Author+ Stored XSS
CVE-2018-20986 - 5.3Advanced Custom Fields (ACF®) <= 6.8.1 Missing Authorization
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C