Custom post types, Custom Fields & more <= 5.0.7 - Authenticated (Subscriber+) Missing Authorization to Plugin AJAX Actions

Medium 4.2 CWE-862Fixed in 6.0.0
ID
WPSEC-2026-4215
Plugin
Custom post types, Custom Fields & more (custom-post-types)
Affected
all versions before 6.0.0
Remediation
Update to 6.0.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-862
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-28
Attack surface
Custom post types, Custom Fields & more on WPSec AttackSurface
Fix released
Published

Description

The Custom post types, Custom Fields & more plugin for WordPress is vulnerable to unauthorized access via the plugin's AJAX actions (cpt-dismiss-notice, cpt-get-post_rel-options, cpt-get-tax_rel-options, cpt-get-repeater-group, cpt-get-repeater-extra-fields) in all versions up to, and including, 5.0.7, due to a missing capability check in the AJAX dispatcher, which only verified a nonce. That nonce is printed on every admin screen that shows plugin fields, including the user profile screen when a field group is assigned to users. This makes it possible for authenticated attackers, with subscriber-level access and above, to list the titles of published posts of any post type and the terms of any taxonomy, including non-public ones, and to dismiss plugin admin notices for all users.

References

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

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

License: CC BY 4.0