Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain gallery-management capability account
-
DeliveryUpload archive with disguised PHP entries
-
ExploitExtension check bypassed via loop-counter bug
-
ExecutionFile written to web-accessible directory
-
PersistRequest uploaded file over HTTP
-
ImpactExecute arbitrary code on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated WordPress account that an administrator has explicitly granted the plugin's gallery-management capability (PR:H) - this is not a default subscriber or unauthenticated path. The attacker must submit an archive to the plugin's upload/extraction feature; the extension-validation bypass then allows a PHP file to land in a web-accessible gallery directory. Full remote code execution additionally requires that the hosting environment actually executes PHP in that upload directory (the description limits RCE to 'hosts that execute them'); on hardened hosts that block script execution in upload paths, the impact is reduced to arbitrary file write. No user interaction is needed (UI:N). |
| Impact | This is a genuine mid-to-high priority finding for sites running the affected plugin, but its severity is meaningfully gated by privilege. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H = 7.2) accurately reflects that exploitation requires a privileged actor: the description states only users granted the plugin's gallery-management capability by an administrator can reach the vulnerable extraction code, which maps correctly to PR:H rather than PR:N. Signal alignment is good: a public exploit exists (WPScan) and a vendor patch (4.5.0) is available, so both the offensive and defensive halves are confirmed. However, this is a POC-availability signal, not active-exploitation - there is no CISA KEV listing and no EPSS score provided, so treat it as 'publicly available exploit code exists,' NOT weaponized/in-the-wild. The C:H/I:H/A:H impact is credible because the flaw yields arbitrary file write into a web-accessible directory and thus RCE, but note the description qualifies RCE as occurring only 'on hosts that execute them' - the write-primitive is universal, code execution depends on server config. Net: prioritize patching where the plugin is present and where semi-trusted gallery-manager roles are delegated, but the PR:H requirement makes mass, opportunistic exploitation unlikely. |
| Exploit ScenarioDerived | An attacker who has been (or has phished/compromised) a non-admin account holding the plugin's gallery-management capability uploads a crafted archive whose entries carry PHP extensions; the reused loop-counter bug causes the extension whitelist check to always pass, so the malicious .php file is extracted into a web-accessible gallery directory. The attacker then requests that file over HTTP and, on a host configured to execute PHP in that path, achieves remote code execution. A public exploit for this technique is available via WPScan. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 20, 2026
Arbitrary file write - escalating to remote code execution on hosts that execute PHP from upload directories - affects the WordPress plugin Photo Gallery, Sliders, Proofing and Themes in all versions before 4.5.0. The flaw sits in the archive-extraction routine: a variable is reused as a loop counter, so the filename-extension check always passes and a user who has been granted the plugin's gallery-management capability by an administrator can place an attacker-controlled file (including a .php payload) into a web-accessible gallery directory; the CVSS vector (PR:H, UI:N) confirms this is an authenticated, elevated-privilege path rather than a subscriber or anonymous one. Publicly available exploit code exists, so exploitation is realistic for any site where a non-administrator holds the gallery-management role, and full code execution depends on the host actually serving PHP out of the upload path - on hardened hosts the impact is limited to arbitrary file write.
RemediationAI
Vendor-released patch: upgrade the plugin to version 4.5.0 or later, which is the fix line identified in the advisory and in the EUVD affected range (<4.5.0); verify the update through the WordPress plugin dashboard or the WPScan advisory at https://wpscan.com/vulnerability/7c1443ae-14b4-43ca-bb1a-b6a3f9b27c57/. Where an immediate upgrade is not possible, the most effective compensating control is to remove the gallery-management capability from every non-administrator role, since the attack is gated on that grant - the trade-off is that legitimate editors lose gallery management until the patch is applied. Independently, disable PHP execution inside the uploads/gallery directories (for Apache, a .htaccess with php_flag engine off or a FilesMatch deny on .php; for nginx, a location block returning 403 for \.php$ under wp-content/uploads), which neutralises the code-execution step but does not stop the underlying arbitrary file write; confirm the effect on any legitimate dynamic content served from those paths. A WAF rule blocking archive uploads to the plugin's extraction endpoint can reduce exposure but is bypassable and should be treated as temporary, and no public exploit mitigation should be relied on in place of the 4.5.0 upgrade.
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 vulnerability is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type) in a WordPress plugin that provides gallery, slider, proofing and theme functionality. Rather than a missing check, the root cause is a logic defect in the post-extraction routine: the loop variable used to iterate over the entries of an uploaded archive is the same variable that carries the result of the extension-validation test, so every iteration overwrites the test outcome and the validation always evaluates as successful. Archive extraction therefore writes member filenames verbatim, including executable extensions, into a directory the web server can reach. The CPE entry (cpe:2.3:a:unknown:photo_gallery,_sliders,_proofing_and_themes:*:*:*:*:*:*:*:*) leaves all version fields wildcarded, but the EUVD record pins the affected range to 0 through versions below 4.5.0. Because WordPress has no default execution restriction on files under wp-content/uploads, the file-write primitive converts directly into PHP code execution on typical hosts; the independent assessment notes that environments blocking script execution in upload paths reduce this to arbitrary file write only. The CVSS 3.1 vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H indicates a network-reachable, low-complexity attack requiring high privileges with no user interaction.
Know when Photo Gallery Sliders Proofing And Themes 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:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Requires an admin-delegated gallery-management role (PR:H) over the network with no user interaction; arbitrary file write yields RCE giving full C/I/A impact on the host.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
The Photo Gallery, Sliders, Proofing and WordPress plugin before 4.5.0 does not correctly validate the extensions of files extracted from an uploaded archive, due to a variable being reused as a loop counter so that the check always passes, allowing users granted its gallery-management capability by an administrator to write arbitrary files into a web-accessible directory and, on hosts that execute them, run arbitrary code.
Articles & Coverage 1
Technical POC Analysis
Evidence caveat: the only supplied source is the WPScan vulnerability entry.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The WordPress plugin Photo Gallery, Sliders, Proofing and Themes (versions before 4.5.0) contains a high-severity flaw that allows an authenticated user with gallery-management privileges to write arbitrary files, potentially leading to remote code execution on hosts that execute PHP from upload directories. Publicly available exploit code exists, so any site where a non-administrator holds that capability is at risk and should be prioritized for remediation. Leadership should care because a successful exploit could compromise the entire WordPress installation and underlying server, affecting site integrity, customer data, and brand trust.
Apply vendor patch.
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
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Improper authorization in the WordPress plugin Photo Gallery, Sliders, Proofing and Themes before version 4.5.0 lets a u
Authenticated WordPress users who hold only the gallery-management capability of the plugin Photo Gallery, Sliders, Proo
Authenticated users who have been granted the plugin's gallery-management capability can overwrite the stored settings o
Missing object-level authorization in the Photo Gallery, Sliders, Proofing and Themes WordPress plugin before 4.5.0 allo
EUVD-2026-83662
GHSA-j73p-vqpx-6v96
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB