GenerateBlocks <= 2.1.2 - Authenticated (Contributor+) Information Exposure via Metadata

Summary

CVECVE-2025-12512
StatePUBLISHED
AssignerWordfence
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-12-13 16:16:46 UTC
Updated2026-10-07 20:10:01 UTC
DescriptionThe GenerateBlocks plugin for WordPress is vulnerable to information exposure due to missing object-level authorization checks in versions up to, and including, 2.1.2. This is due to the plugin registering multiple REST API routes under `generateblocks/v1/meta/` that gate access with `current_user_can('edit_posts')`, which is granted to low-privileged roles such as Contributor. The handlers accept arbitrary entity IDs (user IDs, post IDs, etc.) and meta keys, returning any requested metadata with only a short blacklist of password-like keys for protection. There is no object-level authorization ensuring the caller is requesting only their own data, and there is no allowlist of safe keys. This makes it possible for authenticated attackers, with Contributor-level access and above, to exfiltrate personally identifiable information (PII) and other sensitive profile data of administrator accounts or any other users by directly querying user meta keys via the exposed endpoints via the `get_user_meta_rest` function. In typical WordPress + WooCommerce setups, this includes names, email, phone, and address fields that WooCommerce stores in user meta, enabling targeted phishing, account takeover pretexting, and privacy breaches.

Risk And Classification

Primary CVSS: v3.1 4.3 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Problem Types: CWE-200 | CWE-200 CWE-200 Exposure of Sensitive Information to an Unauthorized Actor


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
3.1CNADECLARED4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Edge22 GenerateBlocks affected 2.1.2 semver Not specified

References

ReferenceSourceLinkTags
plugins.trac.wordpress.org/browser/generateblocks/tags/2.1.1/includes/class-meta-handler... [email protected] plugins.trac.wordpress.org
www.wordfence.com/threat-intel/vulnerabilities/id/6affdb56-39cc-4749-b7cb-b80b7... [email protected] www.wordfence.com
plugins.trac.wordpress.org/browser/generateblocks/tags/2.1.1/includes/class-meta-handler... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/generateblocks/tags/2.1.1/includes/class-meta-handler... [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/changeset/3415721/generateblocks/trunk/includes/class-meta-ha... [email protected] plugins.trac.wordpress.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Athiwat Tiprasaharn (en)

Additional Advisory Data

SourceTimeEvent
CNA2025-10-30T15:17:23.000ZVendor Notified
CNA2025-12-12T14:28:54.000ZDisclosed

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report