CVE-2025-13320
JSON

6.8medium

WP User Manager <= 2.9.12 - Authenticated (Subscriber+) Arbitrary File Deletion via 'current_user_avatar' Parameter

Severity
6.8medium CVSS:3.1 by Wordfence
Exploit likelihood
0.87% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

Description

The WP User Manager plugin for WordPress is vulnerable to Arbitrary File Deletion in all versions up to, and including, 2.9.12. This is due to insufficient validation of user-supplied file paths in the profile update functionality combined with improper handling of array inputs by PHP's filter_input() function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server via the 'current_user_avatar' parameter in a two-stage attack which can make remote code execution possible. This only affects sites with the custom avatar setting enabled.

Affected

Product or packageVersionsReported by
wpusermanager WP User Manager – User Profile Builder & Membershipup to 2.9.12CVE List

Classification

CWE-73

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

What each source says

CVE List

The WP User Manager plugin for WordPress is vulnerable to Arbitrary File Deletion in all versions up to, and including, 2.9.12. This is due to insufficient validation of user-supplied file paths in the profile update functionality combined with improper handling of array inputs by PHP's filter_input() function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server via the 'current_user_avatar' parameter in a two-stage attack which can make remote code execution possible. This only affects sites with the custom avatar setting enabled.

NVD (es)

El plugin WP User Manager para WordPress es vulnerable a la eliminación arbitraria de archivos en todas las versiones hasta la 2.9.12, inclusive. Esto se debe a una validación insuficiente de las rutas de archivo proporcionadas por el usuario en la funcionalidad de actualización de perfil, combinada con un manejo inadecuado de las entradas de array por la función filter_input() de PHP. Esto hace posible que atacantes autenticados, con acceso de nivel Suscriptor y superior, eliminen archivos arbitrarios en el servidor a través del parámetro 'current_user_avatar' en un ataque de dos etapas que puede hacer posible la ejecución remota de código. Esto solo afecta a los sitios con la configuración de avatar personalizado habilitada.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/9d8304bf-bec2-4fcf-9fe2-46b626b3dae9?source=cve
https://plugins.trac.wordpress.org/browser/wp-user-manager/trunk/includes/forms/trait-wpum-account.php#L70
https://plugins.trac.wordpress.org/browser/wp-user-manager/tags/2.9.12/includes/forms/trait-wpum-account.php#L70
https://plugins.trac.wordpress.org/browser/wp-user-manager/trunk/includes/forms/trait-wpum-account.php#L75
https://plugins.trac.wordpress.org/browser/wp-user-manager/tags/2.9.12/includes/forms/trait-wpum-account.php#L75
https://plugins.trac.wordpress.org/browser/wp-user-manager/trunk/includes/forms/trait-wpum-account.php#L86
https://plugins.trac.wordpress.org/browser/wp-user-manager/tags/2.9.12/includes/forms/trait-wpum-account.php#L86
https://plugins.trac.wordpress.org/changeset/3420956/wp-user-manager/trunk/includes/forms/trait-wpum-account.php

Sources

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