Perfmatters <= 2.5.9.1 - Authenticated (Subscriber+) Arbitrary File Deletion via 'delete' Parameter

8.1
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2026-4350
CVSS 8.1 (High)
Publicly Published April 2, 2026
Last Updated April 3, 2026
Researcher h0xilo

Description

The Perfmatters plugin for WordPress is vulnerable to arbitrary file deletion via path traversal in all versions up to, and including, 2.5.9.1. This is due to the `PMCS::action_handler()` method processing the `$_GET['delete']` parameter without any sanitization, authorization check, or nonce verification. The unsanitized filename is concatenated with the storage directory path and passed to `unlink()`. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server by using `../` path traversal sequences, including `wp-config.php` which would force WordPress into the installation wizard and allow full site takeover.

References

Share

Vulnerability Details for Perfmatters

Software Type Plugin
Software Slug perfmatters
Patched? Yes
Remediation Update to version 2.6.0, or a newer patched version
Affected Version
  • <= 2.5.9.1
Patched Version
  • 2.6.0

Recent vulnerabilities in Perfmatters

# Title CVE ID CVSS Researchers Date
1 Perfmatters <= 2.6.4 - Unauthenticated Arbitrary File Read via 's' Parameter CVE-2026-13251 7.5 daroo July 1, 2026
2 Perfmatters <= 2.6.4 - Unauthenticated Stored Cross-Site Scripting CVE-2026-57671 7.2 daroo June 30, 2026
3 Perfmatters <= 2.6.3 - Reflected Cross-Site Scripting CVE-2026-56047 6.1 dutafi June 25, 2026
4 Perfmatters <= 2.5.9 - Authenticated (Subscriber+) Arbitrary File Overwrite via 'snippets' Parameter CVE-2026-4351 8.1 h0xilo April 9, 2026
5 Perfmatters < 2.2.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting CVE-2023-47877 6.4 Dave Jong November 21, 2023
6 Perfmatters <= 2.1.6 - Reflected Cross-Site Scripting CVE-2023-47876 6.1 Dave Jong November 21, 2023
7 Perfmatters <= 2.1.6 - Cross-Site Request Forgery CVE-2023-47875 4.3 Dave Jong November 21, 2023
8 Perfmatters <= 2.1.6 - Missing Authorization CVE-2023-47874 5.3 Dave Jong November 20, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation