Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain subscriber account
-
DeliverySubmit multipart photo upload with crafted filename
-
ExploitFilename concatenated into ImageMagick exec() string
-
ExecutionArgument injection bypasses escapeshellcmd
-
ImpactExecute code as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Requires an authenticated account with subscriber-level access or above on a WordPress site running WP Photo Album Plus, and the site must use the ImageMagick processing path (wppa_image_magick calling exec() on ImageMagick). Exploitation depends on the server having ImageMagick available and the plugin routing uploads through it rather than GD. The limiting factors are: authentication (PR:L, though subscriber registration is often open), and the technical difficulty (AC:H) of achieving reliable code execution through argument injection when escapeshellcmd() has already escaped shell metacharacters - the attacker must rely on ImageMagick argument abuse rather than shell operators. No user interaction by a victim is required. |
| Impact | This is a genuine server-side Remote Code Execution flaw (CWE-74 argument injection), which places it in a higher-priority tier than the many mislabeled 'RCE' web-app findings that are actually client-side XSS - here the RCE tag is accurate because attacker-controlled filename text reaches an ImageMagick command executed via PHP exec(). The vendor CVSS of 7.5 (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) is internally consistent: network-reachable, but AC:H reflects the real difficulty of turning argument injection into reliable code execution when escapeshellcmd() has already neutralized shell metacharacters (the attacker must abuse ImageMagick argument semantics rather than shell operators), and PR:L reflects the confirmed subscriber-level authentication requirement. No EPSS score, no CISA KEV listing, and no public POC are present in the provided data, so exploitation is theoretical at this time - there is no public exploit identified at time of analysis. The realistic risk is moderate-to-high: full C/I/A server impact and a low authentication bar (subscriber, which is self-registerable on many WordPress sites) are offset by AC:H and the absence of any exploitation signal. Treat as a patch-soon issue for exposed WordPress sites running this plugin, especially those allowing open registration. |
| Exploit ScenarioDerived | An attacker registers or obtains a subscriber-level account on a WordPress site running WP Photo Album Plus, then submits a multipart photo upload whose filename contains crafted ImageMagick argument-injection tokens (e.g. additional options separated by spaces). Because escapeshellcmd() is applied to the full command string rather than quoting each argument, and the DB-layer filename sanitization is never applied to the physical temp file path, the malicious filename is interpreted as extra ImageMagick arguments, allowing code/command execution in the web server context. No public exploit code is currently identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 19, 2026
Remote code execution in WP Photo Album Plus affects all versions through the wppa_image_magick path, allowing authenticated attackers with subscriber-level access and above to run server-side code when the site uses ImageMagick processing. The issue is argument injection into an ImageMagick command executed via PHP exec(), enabled by insufficient sanitization of the multipart upload filename and reliance on escapeshellcmd() instead of proper argument quoting. Exploitation requires ImageMagick to be available and the plugin to route uploads through ImageMagick rather than GD, and no public exploit was identified at time of analysis; CVSS 3.1 base score is 7.5 (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).
RemediationAI
Apply the upstream fix referenced in WordPress plugin changeset 3701613 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3701613%40wp-photo-album-plus&new=3701613%40wp-photo-album-plus) or upgrade to a WP Photo Album Plus release that contains it; patch status is upstream fix available (changeset/commit); released patched version not independently confirmed, so verify the plugin version includes the corrected argument handling before relying on it. If immediate patching is not possible, disable or remove the plugin, or force it to use GD instead of ImageMagick if that option exists, which avoids the vulnerable exec() path but may reduce image-processing functionality. Restrict photo upload privileges so subscriber-level accounts cannot upload files if subscribers do not need that capability; this lowers exposure but changes site behavior. As a temporary defense-in-depth measure, block or inspect multipart upload filenames for suspicious ImageMagick argument patterns at a WAF or reverse proxy, and consider disabling PHP exec() via disable_functions only if ImageMagick processing is not required, noting that this breaks legitimate ImageMagick operations. Vendor advisory: https://www.wordfence.com/threat-intel/vulnerabilities/id/693c7554-5122-4527-8a9c-aa31ea9623b7?source=cve.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The underlying weakness is CWE-74 argument injection into a command-line ImageMagick invocation. In wppa_image_magick, the plugin builds an ImageMagick command string and runs it through PHP exec(). A multipart upload filename is concatenated into that command with insufficient sanitization; escapeshellcmd() is applied to the whole command, which neutralizes shell metacharacters but does not prevent argument injection because spaces still delimit arguments and ImageMagick-specific options can be abused. The sanitization applied at the database layer is not applied to the physical temporary file path used for ImageMagick processing. Affected code is in the WordPress plugin WP Photo Album Plus, corresponding to CPE cpe:2.3:a:opajaap:wp_photo_album_plus:*:*:*:*:*:*:*:*, with references to wppa-photo-files.php lines 860 and 281 and wppa-functions.php lines 4837 and 5286 in the plugin Trac repository.
Know when Wp Photo Album Plus gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-exploitable by a subscriber (PR:L) with no victim interaction; AC:H because argument injection past escapeshellcmd requires ImageMagick-specific crafting; full server C/I/A on successful code execution.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Executive ViewAI
A high-severity flaw in the WP Photo Album Plus WordPress plugin exposes sites that use ImageMagick for image processing to server-side code execution by any authenticated subscriber. Since no vendor patch is available, an attacker with only a low-privileged account could turn a single gallery upload into full site compromise, affecting customer data, brand trust, and regulatory obligations. Security leadership should treat this as an urgent exposure requiring immediate inventory and interim controls.
No vendor-released patch identified at time of analysis; interim mitigations include deactivating or removing the plugin, switching image processing to GD where supported, restricting upload capabilities to trusted roles, and using WAF rules to block malformed multipart filenames and ImageMagick command injection patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Wp Photo Album Plus
View allUnauthenticated information disclosure in WP Photo Album Plus (WordPress plugin, all versions before 9.2.07.002) allows
Unauthenticated arbitrary file deletion in WP Photo Album Plus (versions before 9.2.07.002) exposes WordPress sites to p
Reflected Cross-Site Scripting in the WP Photo Album Plus WordPress plugin (all versions before 9.2.07.002) allows unaut
SQL injection in the WP Photo Album Plus WordPress plugin before 9.1.11.001 allows unauthenticated attackers to inject a
Reflected cross-site scripting in WP Photo Album Plus before 9.2.11.002 allows remote unauthenticated attackers to injec
Insufficient authorization in WP Photo Album Plus (all versions before 9.2.09.002) allows any authenticated WordPress us
The WP Photo Album Plus WordPress plugin before 8.0.10 was vulnerable to Stored Cross-Site Scripting (XSS). Rated medium
Stored XSS in WP Photo Album Plus (all versions up to 9.2.03.001) allows unauthenticated remote attackers to inject pers
Unauthenticated SQL injection in the WP Photo Album Plus WordPress plugin (versions ≤ 9.1.08.001) allows remote attacker
Authenticated OS command injection in the WP Photo Album Plus WordPress plugin (all versions up to and including 9.3.02.
Multiple cross-site scripting (XSS) vulnerabilities in wppa-ajax-front.php in the WP Photo Album Plus (aka WPPA) plugin
Cross-site request forgery in the WP Photo Album Plus WordPress plugin before 9.3.04.004 allows an attacker to delete ph
EUVD-2026-83471
GHSA-mx4x-6r5x-jrh9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB