Home

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.

PUBLISHED Reserved 2025-11-17 | Published 2025-11-21 | Updated 2025-11-21 | Assigner Wordfence




HIGH: 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Problem types

CWE-73 External Control of File Name or Path

Product status

Default status
unaffected

* (semver)
affected

Timeline

2025-11-20:Disclosed

Credits

Muhammad Yudha - DJ finder

References

www.wordfence.com/...-88cf-42fc-b9ea-5dd37cdf7464?source=cve

plugins.trac.wordpress.org/.../tags/2.0/wp-audio-gallery.php

plugins.trac.wordpress.org/.../tags/2.0/wp-audio-gallery.php

plugins.trac.wordpress.org/.../tags/2.0/wp-audio-gallery.php

cve.org (CVE-2025-13322)

nvd.nist.gov (CVE-2025-13322)

Download JSON