{"id":"CVE-2026-4351","published":"2026-04-10T01:24:59Z","modified":"2026-04-10T15:54:52Z","title":"Perfmatters <= 2.5.9 - Authenticated (Subscriber+) Arbitrary File Overwrite via 'snippets' Parameter","vendor":"perfmatters","product":"Perfmatters","tier":"tail","description":{"text":"The Perfmatters plugin for WordPress is vulnerable to arbitrary file overwrite via path traversal in all versions up to, and including, 2.5.9. This is due to the `PMCS::action_handler()` method processing the bulk action `activate`/`deactivate` handlers without any authorization check or nonce verification. The `$_GET['snippets'][]` values are passed unsanitized to `Snippet::activate()`/`Snippet::deactivate()` which call `Snippet::update()` then `file_put_contents()` with the traversed path. This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite arbitrary files on the server with a fixed PHP docblock content, potentially causing denial of service by corrupting critical files like `.htaccess` or `index.php`.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00416,"percentile":0.36767,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c172ab2b-ce1f-4a0d-b31f-b75ff2f03506?source=cve","tags":[]},{"url":"https://perfmatters.io/docs/changelog/","tags":[]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":7.35},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"perfmatters","affectedVersions":[{"vendor":"perfmatters","product":"Perfmatters","versions":["<= 2.5.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-10T15:51:30.180464Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-21262","exploited":false,"provenance":"source"}}