{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4613",
 "modified": "2026-12-04T12:48:38Z",
 "published": "2026-12-04T12:48:38Z",
 "summary": "WP-Optimize <= 4.7.1 - Unauthenticated Stored Cross-Site Scripting via 404 Detector Request URL",
 "details": "The WP-Optimize plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the requested URL and referrer logged by the 404 Detector in all versions up to, and including, 4.7.1 due to insufficient input sanitization and output escaping of entity-encoded angle brackets, which are decoded and rendered through Thickbox in the admin 404 Detector report. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute in an administrator's session when the administrator clicks 'View all' on the 404 Detector report. Exploitation requires the opt-in 404 Detector feature to be enabled.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "wp-optimize"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "4.7.2"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 4.7.2"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4613/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/wp-optimize/tags/4.7.2/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/wp-optimize/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4613/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
