Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/wp-audio-gallery/tags/2.0/wp-audio-ga
- https://plugins.trac.wordpress.org/browser/wp-audio-gallery/tags/2.0/wp-audio-ga
- https://plugins.trac.wordpress.org/browser/wp-audio-gallery/tags/2.0/wp-audio-ga
- https://www.wordfence.com/threat-intel/vulnerabilities/id/101675ae-88cf-42fc-b9e
FAQ
What is CVE-2025-13322?
CVE-2025-13322 is a vulnerability with a CVSS score of 8.1 (HIGH). 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_uploadau...
How severe is CVE-2025-13322?
CVE-2025-13322 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-13322?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.