CVE Catalog

CVE-2026-87909

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.53%

43th percentile - higher than 43% of all known CVEs

Summary

The WP Photo Album Plus plugin for WordPress (all versions) is vulnerable to remote code execution via the wppa_image_magick function. Insufficient sanitization of the multipart upload filename before concatenation into an ImageMagick command executed via exec(), with only escapeshellcmd() applied to the whole command. An authenticated attacker with subscriber-level access can execute code on the server.

Risk Assessment

An authenticated attacker with low privileges can execute arbitrary code on the server, leading to full system compromise.

Recommendation

Disable the WP Photo Album Plus plugin until a fix is available, as all versions are vulnerable.

Other vulnerabilities in WP Photo Album Plus

See all
Original NVD description (English source)

The WP Photo Album Plus plugin for WordPress is vulnerable to Remote Code Execution in all versions via the wppa_image_magick function. This is due to insufficient sanitization of the multipart upload filename before concatenation into an ImageMagick command string executed via exec(), with only escapeshellcmd() applied to the whole command rather than quoting individual arguments. This makes it possible for authenticated attackers, with subscriber-level access and above, to execute code on the server. escapeshellcmd() escapes shell metacharacters but does not prevent argument injection because spaces remain as argument separators, and the filename sanitization applied at the database layer is never applied to the physical temporary file path used for ImageMagick processing.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS