CVE-2025-13322: CWE-73 External Control of File Name or Path in husainali52 WP AUDIO GALLERY
The WP AUDIO GALLERY plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in all versions up to, and including, 2.0. This is due to the `wpag_uploadaudio_callback()` AJAX handler not properly validating user-supplied file paths in the `audio_upload` parameter before passing them to `unlink()`. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when critical files like wp-config.php are deleted.
AI Analysis
Technical Summary
CVE-2025-13322 is a vulnerability classified under CWE-73 (External Control of File Name or Path) affecting the WP AUDIO GALLERY plugin for WordPress, developed by husainali52. The vulnerability exists because the AJAX handler function wpag_uploadaudio_callback() does not properly validate the user-supplied 'audio_upload' parameter before passing it to the unlink() function, which is used to delete files. This lack of validation allows authenticated attackers with minimal privileges (subscriber-level or higher) to specify arbitrary file paths for deletion on the server hosting the WordPress site. Since WordPress sites rely heavily on critical configuration files such as wp-config.php, deleting these files can cause denial of service or facilitate remote code execution by disrupting normal site operations or enabling attackers to upload malicious files or modify site behavior. The vulnerability affects all versions of the plugin up to and including version 2.0, with no patches currently available. The CVSS 3.1 score of 8.1 indicates a high-severity issue with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting integrity and availability. Although no known exploits are publicly reported yet, the vulnerability's characteristics make it a significant risk for WordPress sites using this plugin.
Potential Impact
For European organizations, this vulnerability poses a serious risk to the integrity and availability of WordPress-based websites, particularly those using the WP AUDIO GALLERY plugin. Successful exploitation can lead to arbitrary file deletion, including critical configuration files, resulting in site downtime, data loss, and potential remote code execution. This can disrupt business operations, damage reputation, and lead to regulatory compliance issues under GDPR if personal data is affected. Organizations relying on WordPress for customer-facing portals, e-commerce, or internal communications may face service interruptions and increased incident response costs. The ease of exploitation by low-privilege authenticated users increases the threat surface, especially in environments with many user accounts or weak access controls. Additionally, the lack of public exploits currently provides a narrow window for proactive mitigation before widespread attacks emerge.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations to identify the presence of the WP AUDIO GALLERY plugin and its version. Until an official patch is released, mitigation steps include: 1) Restricting plugin usage to trusted administrators only and limiting subscriber-level user capabilities to prevent unauthorized access to the vulnerable AJAX handler. 2) Implementing Web Application Firewall (WAF) rules to detect and block suspicious requests targeting the 'audio_upload' parameter or the wpag_uploadaudio_callback() endpoint. 3) Monitoring server logs for unusual unlink() calls or file deletion activities. 4) Applying principle of least privilege to user roles to minimize the number of users who can authenticate and exploit this vulnerability. 5) Considering temporary deactivation or removal of the plugin if it is not essential. 6) Keeping WordPress core and all plugins updated and subscribing to vulnerability disclosure sources for timely patch releases. 7) Employing file integrity monitoring to detect unauthorized file deletions promptly. These targeted actions go beyond generic advice by focusing on access control, monitoring, and proactive detection specific to this vulnerability's exploitation vector.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-13322: CWE-73 External Control of File Name or Path in husainali52 WP AUDIO GALLERY
Description
The WP AUDIO GALLERY plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in all versions up to, and including, 2.0. This is due to the `wpag_uploadaudio_callback()` AJAX handler not properly validating user-supplied file paths in the `audio_upload` parameter before passing them to `unlink()`. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when critical files like wp-config.php are deleted.
AI-Powered Analysis
Technical Analysis
CVE-2025-13322 is a vulnerability classified under CWE-73 (External Control of File Name or Path) affecting the WP AUDIO GALLERY plugin for WordPress, developed by husainali52. The vulnerability exists because the AJAX handler function wpag_uploadaudio_callback() does not properly validate the user-supplied 'audio_upload' parameter before passing it to the unlink() function, which is used to delete files. This lack of validation allows authenticated attackers with minimal privileges (subscriber-level or higher) to specify arbitrary file paths for deletion on the server hosting the WordPress site. Since WordPress sites rely heavily on critical configuration files such as wp-config.php, deleting these files can cause denial of service or facilitate remote code execution by disrupting normal site operations or enabling attackers to upload malicious files or modify site behavior. The vulnerability affects all versions of the plugin up to and including version 2.0, with no patches currently available. The CVSS 3.1 score of 8.1 indicates a high-severity issue with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting integrity and availability. Although no known exploits are publicly reported yet, the vulnerability's characteristics make it a significant risk for WordPress sites using this plugin.
Potential Impact
For European organizations, this vulnerability poses a serious risk to the integrity and availability of WordPress-based websites, particularly those using the WP AUDIO GALLERY plugin. Successful exploitation can lead to arbitrary file deletion, including critical configuration files, resulting in site downtime, data loss, and potential remote code execution. This can disrupt business operations, damage reputation, and lead to regulatory compliance issues under GDPR if personal data is affected. Organizations relying on WordPress for customer-facing portals, e-commerce, or internal communications may face service interruptions and increased incident response costs. The ease of exploitation by low-privilege authenticated users increases the threat surface, especially in environments with many user accounts or weak access controls. Additionally, the lack of public exploits currently provides a narrow window for proactive mitigation before widespread attacks emerge.
Mitigation Recommendations
European organizations should immediately audit their WordPress installations to identify the presence of the WP AUDIO GALLERY plugin and its version. Until an official patch is released, mitigation steps include: 1) Restricting plugin usage to trusted administrators only and limiting subscriber-level user capabilities to prevent unauthorized access to the vulnerable AJAX handler. 2) Implementing Web Application Firewall (WAF) rules to detect and block suspicious requests targeting the 'audio_upload' parameter or the wpag_uploadaudio_callback() endpoint. 3) Monitoring server logs for unusual unlink() calls or file deletion activities. 4) Applying principle of least privilege to user roles to minimize the number of users who can authenticate and exploit this vulnerability. 5) Considering temporary deactivation or removal of the plugin if it is not essential. 6) Keeping WordPress core and all plugins updated and subscribing to vulnerability disclosure sources for timely patch releases. 7) Employing file integrity monitoring to detect unauthorized file deletions promptly. These targeted actions go beyond generic advice by focusing on access control, monitoring, and proactive detection specific to this vulnerability's exploitation vector.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-17T15:56:27.933Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6920235bcf2d47c38997b878
Added to database: 11/21/2025, 8:31:23 AM
Last enriched: 11/21/2025, 8:34:26 AM
Last updated: 11/21/2025, 11:10:09 AM
Views: 6
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.
Related Threats
CVE-2025-13138: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in listingthemes WP Directory Kit
HighCVE-2025-12964: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nalam-1 Magical Products Display – Elementor WooCommerce Widgets | Product Sliders, Grids & AJAX Search
MediumCVE-2025-12750: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in trainingbusinesspros Groundhogg — CRM, Newsletters, and Marketing Automation
MediumCVE-2025-12160: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nmedia Simple User Registration
HighCVE-2025-12066: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in etruel WP Delete Post Copies
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.