CVE-2025-13231
JSON

6.5medium

Fancy Product Designer | WooCommerce WordPress <= 6.4.8 - Unauthenticated Server-Side Request Forgery via Race Condition

Severity
6.5medium CVSS:3.1 by Wordfence
Exploit likelihood
0.30% (higher than 15% of CVEs)
Published
Last changed
Assigned by
Wordfence

Description

The Fancy Product Designer plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 6.4.8. This is due to a time-of-check/time-of-use (TOCTOU) race condition in the 'url' parameter of the fpd_custom_uplod_file AJAX action. The plugin validates the URL by calling getimagesize() first, then later retrieves the same URL using file_get_contents(). This makes it possible for unauthenticated attackers to exploit the timing gap to perform SSRF attacks by serving a valid image during validation, then changing the response to redirect to arbitrary internal or external URLs during the actual fetch.

Affected

Product or packageVersionsReported by
radykal Fancy Product Designerup to 6.4.8CVE List

Classification

CWE-362

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

What each source says

CVE List

The Fancy Product Designer plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 6.4.8. This is due to a time-of-check/time-of-use (TOCTOU) race condition in the 'url' parameter of the fpd_custom_uplod_file AJAX action. The plugin validates the URL by calling getimagesize() first, then later retrieves the same URL using file_get_contents(). This makes it possible for unauthenticated attackers to exploit the timing gap to perform SSRF attacks by serving a valid image during validation, then changing the response to redirect to arbitrary internal or external URLs during the actual fetch.

NVD (es)

El plugin Fancy Product Designer para WordPress es vulnerable a la falsificación de petición del lado del servidor en todas las versiones hasta la 6.4.8, inclusive. Esto se debe a una condición de carrera (TOCTOU) de tiempo de verificación/tiempo de uso en el parámetro 'url' de la acción AJAX fpd_custom_uplod_file. El plugin valida la URL llamando primero a getimagesize(), y luego recupera la misma URL usando file_get_contents(). Esto hace posible que atacantes no autenticados exploten la brecha de tiempo para realizar ataques SSRF sirviendo una imagen válida durante la validación, y luego cambiando la respuesta para redirigir a URLs internas o externas arbitrarias durante la recuperación real.

References

Sources

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