GenerateBlocks CVE-2025-12512
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Contributor-level account
-
ExploitCall generateblocks/v1/meta REST route
-
ExecutionEnumerate arbitrary user/post meta keys
-
ImpactExfiltrate administrator and customer PII
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated account with Contributor-level capabilities or higher (the edit_posts capability) on a site running GenerateBlocks ≤ 2.1.2; the vulnerable generateblocks/v1/meta/ REST routes are present in the default plugin installation with no special configuration needed. Exploitation is limited by that authentication prerequisite - most impactful where the site permits open or low-friction registration of contributor accounts. Impact and sensitivity of exfiltrated data are amplified when WooCommerce is installed, because customer/admin PII (name, email, phone, address) is stored in user meta reachable through the flaw; the plugin's short password-key blacklist does not restrict these fields. |
| Impact | This is a genuine but moderate-priority issue, best characterized as a high-visibility-but-constrained information disclosure rather than a critical emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N, base 4.3 MEDIUM) is internally consistent with the description: network-reachable REST endpoints, low attack complexity, and - critically - PR:L, meaning the attacker must already hold a Contributor-level (or higher) authenticated account. Impact is confidentiality-only and rated Low (C:L), with no integrity or availability effect, which matches a read-only meta-exfiltration flaw. The EPSS score of 0.35% (27th percentile) is low, indicating no broad exploitation activity is expected or observed. There is no CISA KEV listing and no public exploit referenced in the provided intelligence, so this is not confirmed as actively exploited. The signals are mutually consistent - low EPSS, no KEV, no POC, and a MEDIUM CVSS all point the same direction. The main factor that could elevate real-world impact beyond the C:L rating is the WooCommerce scenario the description calls out (names, email, phone, address in user meta), which could make this materially worse on commerce sites; however, that is contingent on deployment and does not change the base authentication prerequisite. No key data appears conflicting; the principal limitation is the requirement for a foothold account. |
| Exploit ScenarioDerived | An attacker registers or obtains a Contributor-level account on a WordPress site running GenerateBlocks ≤ 2.1.2 (common on sites that allow self-registration or guest contributors), then calls the generateblocks/v1/meta/ REST routes supplying an administrator's user ID and known WooCommerce/user meta keys. The handler, gated only by current_user_can('edit_posts'), returns the requested metadata, letting the attacker harvest administrator and customer PII (name, email, phone, address) for targeted phishing or account-takeover pretexting. No public exploit code is identified at time of analysis, but exploitation is trivial given a valid low-privileged account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Authenticated WordPress users with Contributor-level access or higher can exfiltrate arbitrary user metadata from sites running the GenerateBlocks plugin versions up to and including 2.1.2, due to missing object-level authorization in REST API routes under generateblocks/v1/meta/. The endpoints only check for the edit_posts capability and rely on a short blacklist of password-like keys, allowing low-privileged users to query any user ID and meta key via the get_user_meta_rest function, exposing PII such as names, emails, phone numbers, and WooCommerce address fields. No public exploit code has been identified at time of analysis, EPSS is 0.35% (27th percentile), and there is no CISA KEV confirmation of active exploitation.
RemediationAI
An upstream fix is available in the plugin's trunk changeset 3415721 (which modifies includes/class-meta-handler.php); a released patched version is not independently confirmed, so administrators should update GenerateBlocks to the latest available release and verify with the vendor that the fix is included. Until a patched release is installed, specific compensating controls include: restrict or disable open registration and review any accounts with Contributor-level access, since the attack requires authentication; use a security plugin or web application firewall to block or monitor REST requests to the generateblocks/v1/meta/ namespace, though this may break legitimate block editor functionality that relies on the same endpoints; remove the edit_posts capability from low-privileged roles if feasible, but note that Contributors need it for their core workflow. For WooCommerce sites, consider auditing user meta for exposed PII and notifying affected users if exfiltration is suspected. The Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/6affdb56-39cc-4749-b7cb-b80b7666f028?source=cve and the Trac changeset link provide additional details.
Affected ProductsAI
GenerateBlocks plugin for WordPress versions up to and including 2.1.2 are affected. The vulnerable code resides in includes/class-meta-handler.php, specifically the REST route registration and the get_user_meta_rest function. No CPE strings were provided in the input data, but the source references point to the plugin's Trac repository tags 2.1.1 and the trunk changeset 3415721. Sites running any version of GenerateBlocks at or below 2.1.2 with the plugin active are vulnerable; the risk is amplified when WooCommerce or other plugins that store PII in user meta are installed. The vendor advisory is available via Wordfence at https://www.wordfence.com/threat-intel/vulnerabilities/id/6affdb56-39cc-4749-b7cb-b80b7666f028?source=cve.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a missing authorization check (CWE-200) in the WordPress plugin GenerateBlocks. The plugin registers multiple REST API routes under the namespace generateblocks/v1/meta/, including a handler that calls get_user_meta_rest. Access control is gated solely by current_user_can('edit_posts'), a capability granted to Contributor roles and above, rather than by per-object checks or a capability like list_users or edit_users. The handlers accept arbitrary entity IDs (user IDs, post IDs) and meta keys, and only apply a short blacklist of password-like keys such as 'user_pass' or 'session_tokens', leaving a wide range of sensitive metadata readable. There is no allowlist of safe keys and no verification that the caller is requesting their own data. WordPress stores extensive user meta, including WooCommerce customer billing and shipping details (name, email, phone, address), making the endpoint a direct path to PII exfiltration on typical WooCommerce sites.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Network-reachable REST endpoints (AV:N/AC:L), exploitable only with a Contributor-level account (PR:L), read-only partial disclosure of user meta (C:L) with no integrity or availability impact.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB