CVE-2025-8895

WP Webhooks <= 3.3.5 - Unauthenticated Arbitrary File Copy

Published Aug 21, 2025 CVSS 3.1 · 9.8 Critical EPSS 1.1% KEV · Not listed
Description
The WP Webhooks plugin for WordPress is vulnerable to arbitrary file copy due to missing validation of user-supplied input in all versions up to, and including, 3.3.5. This makes it possible for unauthenticated attackers to copy arbitrary files on the affected site's server to arbitrary locations. This can be used to copy the contents of wp-config.php into a text file which can then be accessed in a browser to reveal database credentials.

Analysis

AI-generated

Technical impact

The WP Webhooks plugin, in all releases up to 3.3.5, accepts user‑supplied input without proper validation, allowing an unauthenticated attacker to copy arbitrary files from the web server to arbitrary destinations. This flaw can be leveraged to read the wp‑config.php file and expose database credentials, severely compromising confidentiality and potentially enabling further attacks. The vulnerability carries a CVSS score of 9.8, indicating critical severity.

Affected Systems

The vulnerability affects the WP Webhooks plugin developed by cozmoslabs, used to automate tasks within WordPress. All installations of WP Webhooks version 3.3.5 or earlier are impacted. No later versions are listed as vulnerable.

Risk and Exploitability

Given the missing authentication checks, the attack vector is likely an unauthenticated HTTP request to a plugin endpoint that processes file copy operations. Although the EPSS score is less than 1%, indicating a low current exploitation probability, the high CVSS score and the potential for credential leakage warrant urgent attention. The flaw is not listed in CISA KEV, but the impact remains critical. An attacker with network access to the site could exploit the flaw without any special credentials, leading to local file disclosure and potential compromise of the entire WordPress installation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the WP Webhooks plugin to version 3.3.6 or later so that input validation is restored
  • If upgrading immediately is not possible, disable the WP Webhooks plugin or block its endpoints using a web‑application firewall or server‑level access restrictions
  • Configure the web server to prevent external access to wp-config.php, for example by adding a deny rule in .htaccess or the server configuration

Generated by OpenCVE AI on April 20, 2026 at 19:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-25429 The WP Webhooks plugin for WordPress is vulnerable to arbitrary file copy due to missing validation of user-supplied input in all versions up to, and including, 3.3.5. This makes it possible for unauthenticated attackers to copy arbitrary files on the affected site's server to arbitrary locations. This can be used to copy the contents of wp-config.php into a text file which can then be accessed in a browser to reveal database credentials.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The WP Webhooks plugin for WordPress is vulnerable to arbitrary file copy due to missing validation of user-supplied input in all versions up to, and including, 3.3.5. This makes it possible for unauthenticated attackers to copy arbitrary files on the affected site's server to arbitrary locations. This can be used to copy the contents of wp-config.php into a text file which can then be accessed in a browser to reveal database credentials.
Title WP Webhooks <= 3.3.5 - Unauthenticated Arbitrary File Copy
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:28 PM
Reserved
Aug 12, 2025, 5:26 PM
Status
Deferred
Published
Aug 21, 2025, 8:15 AM
Modified
Jun 17, 2026, 10:07 AM