{
 "id": "WPSEC-2026-1990",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1990/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1990/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1990/index.md",
 "title": "Page and Post Restriction <= 1.6.1 - Authenticated (Subscriber+) Missing Authorization to Plugin Deactivation",
 "description": "The Page and Post Restriction plugin for WordPress is vulnerable to unauthorized plugin deactivation in all versions up to, and including, 1.6.1 due to a missing capability check on the 'papr_feedback' and 'papr_skip_feedback' deactivation handlers, which relied only on a nonce. That nonce was exposed to any logged-in user because the feedback form's screen check used PHP_SELF, which can be spoofed with a PATH_INFO suffix such as /wp-admin/profile.php/plugins.php. This makes it possible for authenticated attackers, with Subscriber-level access and above, to deactivate the plugin, which removes all content restrictions and, through the deactivation routine, deletes the configured restriction rules.",
 "plugin": {
  "slug": "page-and-post-restriction",
  "name": "Page and Post Restriction",
  "full_name": "Page and Post Restriction",
  "wordpress_org": "https://wordpress.org/plugins/page-and-post-restriction/",
  "advisories_url": "https://wpsec.com/vuln/plugin/page-and-post-restriction/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/page-and-post-restriction"
 },
 "type": "NO AUTHORISATION",
 "cwe": [
  "CWE-862"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.6.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.6.2"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.6.2",
 "remediation": "Update to 1.6.2 or later.",
 "fix_released": "2026-10-29T03:28:38+00:00",
 "published": "2026-10-30T03:40:42+00:00",
 "updated": "2026-10-29T17:44:18.865588+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1990/",
  "https://plugins.svn.wordpress.org/page-and-post-restriction/tags/1.6.2/",
  "https://wordpress.org/plugins/page-and-post-restriction/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/page-and-post-restriction",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-10-29"
 }
}