Secure Custom Fields <= 6.9.9 - Authenticated (Administrator+) Arbitrary Function Call via Meta Box Callback Settings

Medium 6.6 CWE-470Fixed in 6.9.10
ID
WPSEC-2026-3671
Plugin
Secure Custom Fields (secure-custom-fields)
Affected
all versions before 6.9.10
Remediation
Update to 6.9.10 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-470
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-21
Attack surface
Secure Custom Fields on WPSec AttackSurface
Fix released
Published

Description

The Secure Custom Fields plugin for WordPress is vulnerable to arbitrary PHP function calls via the meta box callback settings of custom post types and taxonomies in all versions up to, and including, 6.9.9. This is due to missing restrictions on who can set the register_meta_box_cb, meta_box_cb and meta_box_sanitize_cb values, which the plugin later passes to WordPress and calls. The taxonomy sanitization callback is registered as given, without the plugin's restricted calling context. This makes it possible for authenticated attackers with Administrator-level access on multisite installations who are not super admins to have arbitrary PHP functions called, which site administrators on multisite cannot normally do.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0