{
 "id": "WPSEC-2026-4611",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4611/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4611/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4611/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4611.json",
 "title": "WP-Optimize <= 4.7.1 - Missing Authorization to Page Cache Purge via Widget Save AJAX Action",
 "description": "The WP-Optimize plugin for WordPress is vulnerable to unauthorized cache purging in all versions up to, and including, 4.7.1 due to a missing capability check and nonce verification on the cache purge callback hooked to the wp_ajax_save-widget action, which fires before WordPress core validates the request. This makes it possible for authenticated attackers with Subscriber-level access and above to purge the entire page cache by sending a crafted AJAX request, degrading site performance.",
 "plugin": {
  "slug": "wp-optimize",
  "name": "WP-Optimize",
  "full_name": "WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance",
  "wordpress_org": "https://wordpress.org/plugins/wp-optimize/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-optimize/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-optimize"
 },
 "type": "NO AUTHORISATION",
 "cwe": [
  "CWE-862"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.7.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.7.2"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.7.2",
 "remediation": "Update to 4.7.2 or later.",
 "fix_released": "2026-12-03T12:30:21+00:00",
 "published": "2026-12-04T12:48:38+00:00",
 "updated": "2026-12-04T09:16:39.158734+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4611/",
  "https://plugins.svn.wordpress.org/wp-optimize/tags/4.7.2/",
  "https://wordpress.org/plugins/wp-optimize/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-optimize",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-12-04"
 }
}