CVE-2025-13322
JSON

8.1high

WP AUDIO GALLERY <= 2.0 - Authenticated (Subscriber+) Arbitrary File Deletion via 'audio_upload' Parameter

Severity
8.1high CVSS:3.1 by Wordfence
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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.

Affected

Product or packageVersionsReported by
husainali52 WP AUDIO GALLERYup to 2.0CVE List

Classification

CWE-73

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El plugin WP AUDIO GALLERY para WordPress es vulnerable a la eliminación arbitraria de archivos debido a una validación insuficiente de la ruta de archivo en todas las versiones hasta la 2.0, inclusive. Esto se debe a que el gestor AJAX 'wpag_uploadaudio_callback()' no valida correctamente las rutas de archivo proporcionadas por el usuario en el parámetro 'audio_upload' antes de pasarlas a 'unlink()'. Esto permite a atacantes autenticados, con acceso de nivel de suscriptor y superior, eliminar archivos arbitrarios en el servidor, lo que puede conducir fácilmente a la ejecución remota de código cuando se eliminan archivos críticos como wp-config.php.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-13322 changed 2026-04-08CVE Terms of Use
NVDCVE-2025-13322 changed 2026-10-08Public domain