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) found in the WP AUDIO GALLERY plugin for WordPress, maintained by husainali52. The flaw exists in the wpag_uploadaudio_callback() AJAX handler, which processes the audio_upload parameter without proper validation or sanitization of the file path. This parameter is directly passed to the PHP unlink() function, which deletes files on the server. Because the plugin does not restrict or sanitize the input, authenticated users with subscriber-level privileges or higher can specify arbitrary file paths, leading to arbitrary file deletion on the server. Critical files such as wp-config.php, which contains database credentials and configuration, can be deleted, potentially causing denial of service or enabling attackers to execute remote code by manipulating the environment or triggering fallback behaviors. The vulnerability affects all versions up to and including 2.0 of the plugin. The CVSS 3.1 base score is 8.1, reflecting high severity due to network attack vector, low attack complexity, privileges required, no user interaction, and high impact on integrity and availability. Although no public exploits have been reported yet, the vulnerability's characteristics make it a prime target for attackers aiming to compromise WordPress sites. The lack of patch links suggests that no official fix has been released at the time of publication, increasing urgency for mitigation.
Potential Impact
The impact of CVE-2025-13322 is significant for organizations running WordPress sites with the WP AUDIO GALLERY plugin installed. Successful exploitation allows attackers with minimal privileges (subscriber-level) to delete arbitrary files, including critical configuration files like wp-config.php. This can lead to site downtime, loss of data integrity, and potentially remote code execution if attackers manipulate the environment post-deletion. The compromise can extend to full site takeover, data breaches, and disruption of business operations. Given WordPress's widespread use globally, this vulnerability poses a risk to a large number of websites, especially those that do not regularly update plugins or enforce strict access controls. The ease of exploitation and the high impact on availability and integrity make this a critical threat for content management systems relying on this plugin.
Mitigation Recommendations
To mitigate CVE-2025-13322, organizations should immediately audit their WordPress installations for the presence of the WP AUDIO GALLERY plugin and verify the version in use. Since no official patch is currently available, the following specific actions are recommended: 1) Temporarily disable or uninstall the WP AUDIO GALLERY plugin to eliminate the attack surface. 2) Restrict access to the wpag_uploadaudio_callback() AJAX handler by implementing additional server-side access controls or web application firewall (WAF) rules that block unauthorized or suspicious requests targeting this endpoint. 3) Enforce the principle of least privilege by reviewing user roles and minimizing subscriber-level access where possible. 4) Monitor server logs for unusual unlink() calls or file deletion activities, especially targeting critical files. 5) Implement file integrity monitoring to detect unauthorized changes or deletions promptly. 6) Once a patch is released by the vendor, apply it immediately and verify the fix. 7) Educate site administrators about the risks of installing unvetted plugins and the importance of timely updates.
Affected Countries
United States, Germany, United Kingdom, India, Brazil, Australia, Canada, France, Japan, Netherlands
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
Machine-generated threat intelligence
Technical Analysis
CVE-2025-13322 is a vulnerability classified under CWE-73 (External Control of File Name or Path) found in the WP AUDIO GALLERY plugin for WordPress, maintained by husainali52. The flaw exists in the wpag_uploadaudio_callback() AJAX handler, which processes the audio_upload parameter without proper validation or sanitization of the file path. This parameter is directly passed to the PHP unlink() function, which deletes files on the server. Because the plugin does not restrict or sanitize the input, authenticated users with subscriber-level privileges or higher can specify arbitrary file paths, leading to arbitrary file deletion on the server. Critical files such as wp-config.php, which contains database credentials and configuration, can be deleted, potentially causing denial of service or enabling attackers to execute remote code by manipulating the environment or triggering fallback behaviors. The vulnerability affects all versions up to and including 2.0 of the plugin. The CVSS 3.1 base score is 8.1, reflecting high severity due to network attack vector, low attack complexity, privileges required, no user interaction, and high impact on integrity and availability. Although no public exploits have been reported yet, the vulnerability's characteristics make it a prime target for attackers aiming to compromise WordPress sites. The lack of patch links suggests that no official fix has been released at the time of publication, increasing urgency for mitigation.
Potential Impact
The impact of CVE-2025-13322 is significant for organizations running WordPress sites with the WP AUDIO GALLERY plugin installed. Successful exploitation allows attackers with minimal privileges (subscriber-level) to delete arbitrary files, including critical configuration files like wp-config.php. This can lead to site downtime, loss of data integrity, and potentially remote code execution if attackers manipulate the environment post-deletion. The compromise can extend to full site takeover, data breaches, and disruption of business operations. Given WordPress's widespread use globally, this vulnerability poses a risk to a large number of websites, especially those that do not regularly update plugins or enforce strict access controls. The ease of exploitation and the high impact on availability and integrity make this a critical threat for content management systems relying on this plugin.
Mitigation Recommendations
To mitigate CVE-2025-13322, organizations should immediately audit their WordPress installations for the presence of the WP AUDIO GALLERY plugin and verify the version in use. Since no official patch is currently available, the following specific actions are recommended: 1) Temporarily disable or uninstall the WP AUDIO GALLERY plugin to eliminate the attack surface. 2) Restrict access to the wpag_uploadaudio_callback() AJAX handler by implementing additional server-side access controls or web application firewall (WAF) rules that block unauthorized or suspicious requests targeting this endpoint. 3) Enforce the principle of least privilege by reviewing user roles and minimizing subscriber-level access where possible. 4) Monitor server logs for unusual unlink() calls or file deletion activities, especially targeting critical files. 5) Implement file integrity monitoring to detect unauthorized changes or deletions promptly. 6) Once a patch is released by the vendor, apply it immediately and verify the fix. 7) Educate site administrators about the risks of installing unvetted plugins and the importance of timely updates.
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: 2/27/2026, 9:41:22 AM
Last updated: 3/26/2026, 8:56:51 AM
Views: 92
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.