CVE-2025-12512
JSON

4.3medium

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

Severity
4.3medium CVSS:3.1 by Wordfence
Exploit likelihood
0.38% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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.

Affected

Product or packageVersionsReported by
edge22 GenerateBlocksup to 2.1.2CVE List

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El plugin GenerateBlocks para WordPress es vulnerable a la exposición de información debido a la falta de comprobaciones de autorización a nivel de objeto en versiones hasta, e incluyendo, la 2.1.2. Esto se debe a que el plugin registra múltiples rutas de la API REST bajo 'generateblocks/v1/meta/' que restringen el acceso con 'current_user_can('edit_posts')', lo cual se concede a roles de bajo privilegio como Colaborador. Los manejadores aceptan IDs de entidad arbitrarios (IDs de usuario, IDs de publicación, etc.) y claves meta, devolviendo cualquier metadato solicitado con solo una corta lista negra de claves similares a contraseñas para protección. No hay autorización a nivel de objeto que asegure que el llamador está solicitando solo sus propios datos, y no hay una lista blanca de claves seguras. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador y superior, exfiltren información de identificación personal (PII) y otros datos de perfil sensibles de cuentas de administrador o de cualquier otro usuario consultando directamente las claves meta de usuario a través de los puntos finales expuestos mediante la función 'get_user_meta_rest'. En configuraciones típicas de WordPress + WooCommerce, esto incluye campos de nombre, correo electrónico, teléfono y dirección que WooCommerce almacena en los metadatos de usuario, lo que permite phishing dirigido, pretexting para toma de control de cuentas y violaciones de privacidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12512 changed 2026-04-08CVE Terms of Use
NVDCVE-2025-12512 changed 2026-10-07Public domain