CVE-2025-5142

The Simple Page Access Restriction plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.31. This is due to missing nonce validation and capability checks in the settings save handler in the settings.php script. This makes it possible for unauthenticated attackers to (1) enable or disable access protection on all post types or taxonomies, (2) force every new page/post to be public or private, regardless of meta-box settings, (3) cause a silent wipe of all plugin data when it’s later removed, or (4) to conduct URL redirection attacks via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pluginsandsnippets:simple_page_access_restriction:*:*:*:*:*:wordpress:*:*

History

04 Jun 2025, 18:29

Type Values Removed Values Added
First Time Pluginsandsnippets simple Page Access Restriction
Pluginsandsnippets
CPE cpe:2.3:a:pluginsandsnippets:simple_page_access_restriction:*:*:*:*:*:wordpress:*:*
Summary
  • (es) El complemento Simple Page Access Restriction para WordPress es vulnerable a Cross-Site Request Forgery en todas las versiones hasta la 1.0.31 incluida. Esto se debe a la falta de validación de nonce y comprobaciones de capacidad en el controlador de guardado de la configuración del script settings.php. Esto permite a atacantes no autenticados (1) habilitar o deshabilitar la protección de acceso en todos los tipos de entradas o taxonomías, (2) forzar que cada nueva página/entrada sea pública o privada, independientemente de la configuración del metabox, (3) provocar un borrado silencioso de todos los datos del complemento al eliminarlo posteriormente, o (4) realizar ataques de redirección de URL mediante una solicitud falsificada, siempre que puedan engañar al administrador del sitio para que realice una acción como hacer clic en un enlace.
References () https://plugins.trac.wordpress.org/browser/simple-page-access-restriction/tags/1.0.31/includes/admin/settings/settings.php#L16 - () https://plugins.trac.wordpress.org/browser/simple-page-access-restriction/tags/1.0.31/includes/admin/settings/settings.php#L16 - Product
References () https://plugins.trac.wordpress.org/changeset/3300680/ - () https://plugins.trac.wordpress.org/changeset/3300680/ - Patch
References () https://wordpress.org/plugins/simple-page-access-restriction/#developers - () https://wordpress.org/plugins/simple-page-access-restriction/#developers - Product, Release Notes
References () https://www.wordfence.com/threat-intel/vulnerabilities/id/657e2a4d-7e10-495d-8352-1adc0cb89e83?source=cve - () https://www.wordfence.com/threat-intel/vulnerabilities/id/657e2a4d-7e10-495d-8352-1adc0cb89e83?source=cve - Third Party Advisory

30 May 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-30 10:15

Updated : 2025-06-04 18:29


NVD link : CVE-2025-5142

Mitre link : CVE-2025-5142

CVE.ORG link : CVE-2025-5142


JSON object : View

Products Affected

pluginsandsnippets

  • simple_page_access_restriction
CWE
CWE-352

Cross-Site Request Forgery (CSRF)