NextGEN Gallery <= 3.37 - Authenticated (Admininistrator+) Arbitrary File Read and Deletion in gallery_edit
Strategic Overview
- Status
- Patched in 3.39
- Affected Version
<= 3.37- CVSS
- 6.5Medium
- Weakness type
- CWE-552 · Files or Directories Accessible to External Parties
- CVE
CVE-2023-3155
At a glance
CVE-2023-3155 is a medium-severity Files or Directories Accessible to External Parties vulnerability in the Photo Gallery, Sliders, Proofing and Themes WordPress plugin, affecting versions <= 3.37. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity; high confidentiality, integrity impact). Exploitation requires an authenticated account at Admininistrator level or above. The issue is fixed in version 3.39; sites on affected versions should update now. Disclosed September 2023, reported by Linwz.
Vulnerability Overview
The NextGEN Gallery plugin for WordPress is vulnerable to Arbitrary File Read and Deletion in versions up to, and including, 3.37. This is due to insufficient input validation within the gallery_edit function. This makes it possible for authenticated attackers, with administrator-level privileges and above, to read and delete arbitrary files.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity.
CWE-552: Files or Directories Accessible to External Parties
The product makes files or directories accessible to unauthorized actors, even though they should not be.
Remediation
Update to version 3.39, or a newer patched version
How does WordSec protect against this?
An attacker needs Admininistrator access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Photo Gallery, Sliders, Proofing and Themes 3.39 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Other vulnerabilities in Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
- 9.8CVE-2019-14314: NextGEN Gallery <= 3.2.10 SQL Injection
CVE-2019-14314 - 9.8CVE-2016-10889: NextGEN Gallery <= 2.1.56 LFI & SQL injection
CVE-2016-10889 - 9.8CVE-2013-3684: WordPress Gallery Plugin Arbitrary File Upload
CVE-2013-3684 - 8.8CVE-2026-1463: Photo Gallery LFI
CVE-2026-1463 - 8.8CVE-2025-13641: Photo Gallery LFI
CVE-2025-13641 - 8.8CVE-2020-35942: WordPress Gallery Plugin – NextGEN Gallery CSRF
CVE-2020-35942 - 8.8CVE-2020-35943: WordPress Gallery Plugin CSRF to Arbitrary File Upload
CVE-2020-35943 - 8.8Freemius SDK <= 2.2.3 Arbitrary Options Update
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C