PT-2026-31849 · WordPress · Perfmatters
Published
2026-04-10
·
Updated
2026-04-11
·
CVE-2026-4351
CVSS v3.1
8.1
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Perfmatters plugin for WordPress versions up to and including 2.5.9
Description
The Perfmatters plugin for WordPress is susceptible to arbitrary file overwrite through path traversal. This occurs because the
PMCS::action handler() method processes activate/deactivate handlers without proper authorization or nonce verification. The $ GET['snippets'][] values are passed without sanitization to Snippet::activate()/Snippet::deactivate(), which then call Snippet::update() and file put contents() with a potentially traversed path. This allows authenticated attackers with Subscriber-level access or higher to overwrite arbitrary files on the server, potentially leading to denial of service by corrupting critical files like .htaccess or index.php.Recommendations
Update the Perfmatters plugin to a version later than 2.5.9.
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Perfmatters