{
 "id": "WPSEC-2026-4511",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4511/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4511/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4511/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4511.json",
 "title": "Add Expires Headers & Optimized Minify <= 3.4.0 - Cross-Site Request Forgery to Minify Cache Purge",
 "description": "The add-expires-headers plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.4.0 due to missing nonce validation on the purge-on-save branch of the minify purge handler. This makes it possible for unauthenticated attackers to purge the plugin's minify cache via a forged request, granted they can trick a site administrator into performing an action such as clicking on a link.",
 "plugin": {
  "slug": "add-expires-headers",
  "name": "Add Expires Headers & Optimized Minify",
  "full_name": "Add Expires Headers & Optimized Minify",
  "wordpress_org": "https://wordpress.org/plugins/add-expires-headers/",
  "advisories_url": "https://wpsec.com/vuln/plugin/add-expires-headers/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/add-expires-headers"
 },
 "type": "CSRF",
 "cwe": [
  "CWE-352"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.0.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.0.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.0.0",
 "remediation": "Update to 4.0.0 or later.",
 "fix_released": "2026-12-02T10:14:10+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:35:59.620389+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4511/",
  "https://plugins.svn.wordpress.org/add-expires-headers/tags/4.0.0/",
  "https://wordpress.org/plugins/add-expires-headers/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/add-expires-headers",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-12-03"
 }
}