WordPress Plugin Vulnerabilities
WP Photo Album Plus < 9.3.01.003 - Subscriber+ RCE via Upload Filename ImageMagick Argument Injection
Description
The plugin is vulnerable to Remote Code Execution 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.
Affects Plugins
References
Classification
Type
RCE
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
daroo
Verified
No
WPVDB ID
Timeline
Publicly Published
2026-09-18 (about 2 months ago)
Added
2026-09-18 (about 2 months ago)
Last Updated
2026-09-18 (about 2 months ago)