Advanced Custom Fields <= 6.3.8 - Authenticated (Admin+) Limited Arbitrary Function Call

Improper Control of Generation of Code ('Code Injection')
CVE CVE-2024-9529
CVSS Medium (5.1)
Publicly Published October 7, 2024
Last Updated October 16, 2024
Researcher Automattic
Description

The Advanced Custom Fields (ACF) plugin for WordPress is vulnerable to limited arbitrary function calls via the 'register_meta_box_cb' and 'meta_box_cb' parameters in all versions up to, and including, 6.3.8 (excluding 6.3.6.2) due to insufficient input validation on those parameters. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary functions, like WordPress functions, in custom post types that will execute whenever a user accesses the injected post type. This can be leveraged to trick other users like administrators accessing posts into performing unauthorized actions through functions, and is not a very serious risk for the vast majority of site owners. Please follow the reference listed in this vulnerability record for instructions on how to update to the latest version of ACF that patches this issue and ensures accessibility to updates moving forward. Please note this issue was partially patched in 6.3.8 and 6.3.6.1 - 6.3.6.2, however, was hardened further in 6.3.6.3 and 6.3.9.

References

3 affected software package

Software Type Plugin
Software Slug advanced-custom-fields (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 6.3.6.2
Patched Version
  • 6.3.6.3
Software Type Plugin
Software Slug advanced-custom-fields (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 6.3.6
  • 6.3.7 - 6.3.7
  • 6.3.8 - 6.3.8
Patched Version
  • 6.3.9
Software Type Plugin
Software Slug advanced-custom-fields-pro (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 6.3.8
Patched Version
  • 6.3.9
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.