CVE-2025-12512
Last modified
CVE-2025-12512 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-12512?
How severe is CVE-2025-12512?
How do I fix CVE-2025-12512?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-12506GitLab has remediated an issue in GitLab CE/EE affecting all…4.3
- CVE-2025-12507The service Bizerba Communication Server (BCS) has an unquot…8.8
- CVE-2025-12508When using domain users as BRAIN2 users, communication with …8.4
- CVE-2025-12509On a client with an admin user, a Global_Shipping script can…8.4
- CVE-2025-12510The Widgets for Google Reviews plugin for WordPress is vulne…7.2
- CVE-2025-12511Improper Neutralization of Input During Web Page Generation …4.8
- CVE-2025-12513Improper Neutralization of Input During Web Page Generation …4.8
- CVE-2025-12514Improper Neutralization of Special Elements used in an SQL C…7.2
- CVE-2025-12515Systemic Internal Server Errors - HTTP 500 ResponseThis issu…9.8
- CVE-2025-12516Lack of Graceful Error Handling - HTTP 5xx ErrorThis issue a…9.8
- CVE-2025-12517Credits Page not Matching Versions in Use in the FirmwareThi…5.3
- CVE-2025-12518beefree.io SDK is vulnerable to Stored XSS in Social Media i…5.3
Are you affected by CVE-2025-12512?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
