CVE-2025-8895: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in cozmoslabs WP Webhooks – Automate repetitive tasks by creating powerful automation workflows directly within WordPress
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.
AI Analysis
Technical Summary
The WP Webhooks WordPress plugin suffers from CWE-22: Improper Limitation of a Pathname to a Restricted Directory (Path Traversal). Due to missing validation of user-supplied input, unauthenticated attackers can perform arbitrary file copy operations on the affected server. This enables attackers to copy sensitive files like wp-config.php to accessible locations, risking exposure of database credentials and potentially compromising the entire site. The vulnerability affects all plugin versions up to 3.3.5 and has a critical CVSS 3.1 score of 9.8 with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows unauthenticated attackers to copy arbitrary files on the server to arbitrary locations, which can lead to disclosure of sensitive information such as database credentials contained in wp-config.php. This compromises the confidentiality and integrity of the affected WordPress site and can lead to full site compromise or further attacks.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the plugin and consider disabling it if possible to prevent exploitation. Monitor official vendor channels for updates and apply patches promptly once available.
CVE-2025-8895: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in cozmoslabs WP Webhooks – Automate repetitive tasks by creating powerful automation workflows directly within WordPress
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The WP Webhooks WordPress plugin suffers from CWE-22: Improper Limitation of a Pathname to a Restricted Directory (Path Traversal). Due to missing validation of user-supplied input, unauthenticated attackers can perform arbitrary file copy operations on the affected server. This enables attackers to copy sensitive files like wp-config.php to accessible locations, risking exposure of database credentials and potentially compromising the entire site. The vulnerability affects all plugin versions up to 3.3.5 and has a critical CVSS 3.1 score of 9.8 with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows unauthenticated attackers to copy arbitrary files on the server to arbitrary locations, which can lead to disclosure of sensitive information such as database credentials contained in wp-config.php. This compromises the confidentiality and integrity of the affected WordPress site and can lead to full site compromise or further attacks.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the plugin and consider disabling it if possible to prevent exploitation. Monitor official vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-08-12T17:26:29.249Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68a6cf24ad5a09ad000c8b5f
Added to database: 8/21/2025, 7:47:48 AM
Last enriched: 4/9/2026, 10:57:33 AM
Last updated: 5/10/2026, 9:00:20 AM
Views: 240
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.