---
id: CVE-2026-81650
title: >-
  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 pa…
summary: >-
  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 pa…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-434
product: 'Photo Gallery, Sliders, Proofing and Themes'
affected:
  - photo_gallery_sliders_proofing_and_themes < 4.5.0
published: '2026-09-20'
updated: '2026-09-21'
sourceUpdated: '2026-09-21T13:34:57.127'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-81650'
references:
  - url: 'https://wpscan.com/vulnerability/7c1443ae-14b4-43ca-bb1a-b6a3f9b27c57/'
    label: contact@wpscan.com
tags:
  - nvd
  - cve.org
epss: 0.00499
epssPercentile: 0.40222
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-20T13:46:18.330666Z'
ingestedAt: '2026-09-20T07:16:12.223Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
