{"id":"CVE-2026-4351","aliases":["CVE-2026-4351"],"related":[],"kind":"vulnerability","state":"published","title":"Perfmatters <= 2.5.9 - Authenticated (Subscriber+) Arbitrary File Overwrite via 'snippets' Parameter","summary":"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`.","summarySource":"cvelist","descriptions":[{"lang":"en","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`.","source":"cvelist"}],"published":"2026-04-10T01:24:59.539Z","modified":"2026-06-17T10:56:27.667Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.5.9","status":"affected"}],"vendor":"perfmatters","product":"Perfmatters","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c172ab2b-ce1f-4a0d-b31f-b75ff2f03506?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://perfmatters.io/docs/changelog/","tags":[],"sources":["cvelist","nvd"]}],"credits":["Phú"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-10T15:51:30.180Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-4351","url":"https://www.cve.org/CVERecord?id=CVE-2026-4351","licence":"CVE Terms of Use","modified":"2026-04-10T15:54:52.222Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-4351","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4351","licence":"Public domain","modified":"2026-06-17T10:56:27.667Z"}],"updatedAt":"2026-11-25T22:59:18.472Z","epss":{"score":0.00425,"percentile":0.3872,"date":"2026-12-01T12:00:22.000Z"}}