What the vulnerability does
01Description
The Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 4.7.3 via deserialization of untrusted input in the 'import_gallery_from_csv' function. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject a PHP Object. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present.
Explanation of Vulnerability in Simple Terms
02Summary
The Gallery by BestWebSoft plugin for WordPress versions 4.7.3 and earlier contains a deserialization vulnerability in how it processes untrusted data. An authenticated administrator can exploit this to read sensitive site data, modify content, or disrupt site availability. The vulnerability requires high-level admin access and does not require user interaction.
What an attacker can do
03Attacker Capabilities
Read sensitive data, modify site content, or cause the site to become unavailable.
Potential impact on your site
04Site Impact
An admin account compromise could lead to data theft, content tampering, or site downtime.
Conditions required to exploit
05Prerequisites
Attacker must have WordPress administrator privileges and network access to the site.
Key dates
06Disclosure timeline
March 7, 2025
CVE published
April 8, 2026
Record updated