Skip to main content

WP Photo Album Plus CVE-2026-87909

| EUVDEUVD-2026-83471 HIGH
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-09-19 Wordfence GHSA-mx4x-6r5x-jrh9
7.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain subscriber account
  2. Delivery
    Submit multipart photo upload with crafted filename
  3. Exploit
    Filename concatenated into ImageMagick exec() string
  4. Execution
    Argument injection bypasses escapeshellcmd
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

WP Photo Album Plus 0 ≤9.2.09.002

Affected Packages

euvd wp_photo_album_plus no fix

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

Vendor (Wordfence) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating 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

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Medium
moderately popular WordPress photo-gallery plugin, tens of thousands of installs
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-18049 HIGH POC
7.5 Aug 12

Unauthenticated information disclosure in WP Photo Album Plus (WordPress plugin, all versions before 9.2.07.002) allows

CVE-2026-18048 HIGH POC
7.5 Aug 12

Unauthenticated arbitrary file deletion in WP Photo Album Plus (versions before 9.2.07.002) exposes WordPress sites to p

CVE-2026-17013 MEDIUM POC
6.1 Aug 12

Reflected Cross-Site Scripting in the WP Photo Album Plus WordPress plugin (all versions before 9.2.07.002) allows unaut

CVE-2026-6379 HIGH POC
8.6 May 18

SQL injection in the WP Photo Album Plus WordPress plugin before 9.1.11.001 allows unauthenticated attackers to inject a

CVE-2026-110981 HIGH POC
7.1 Oct 18

Reflected cross-site scripting in WP Photo Album Plus before 9.2.11.002 allows remote unauthenticated attackers to injec

CVE-2026-18962 MEDIUM POC
4.3 Aug 12

Insufficient authorization in WP Photo Album Plus (all versions before 9.2.09.002) allows any authenticated WordPress us

CVE-2021-25115 MEDIUM POC
6.4 Feb 14

The WP Photo Album Plus WordPress plugin before 8.0.10 was vulnerable to Stored Cross-Site Scripting (XSS). Rated medium

CVE-2026-14922 MEDIUM POC
6.1 Jul 31

Stored XSS in WP Photo Album Plus (all versions up to 9.2.03.001) allows unauthenticated remote attackers to inject pers

CVE-2026-39511 CRITICAL
9.3 Jun 15

Unauthenticated SQL injection in the WP Photo Album Plus WordPress plugin (versions ≤ 9.1.08.001) allows remote attacker

CVE-2026-92115 HIGH
8.8 Oct 16

Authenticated OS command injection in the WP Photo Album Plus WordPress plugin (all versions up to and including 9.3.02.

CVE-2015-3647 MEDIUM POC
4.3 May 21

Multiple cross-site scripting (XSS) vulnerabilities in wppa-ajax-front.php in the WP Photo Album Plus (aka WPPA) plugin

CVE-2026-110983 MEDIUM POC
4.3 Oct 29

Cross-site request forgery in the WP Photo Album Plus WordPress plugin before 9.3.04.004 allows an attacker to delete ph

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy