CVE-2024-13906: CWE-502 Deserialization of Untrusted Data in bestwebsoft Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress
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.
AI Analysis
Technical Summary
CVE-2024-13906 is a PHP Object Injection vulnerability in the Gallery by BestWebSoft plugin for WordPress, affecting all versions up to 4.7.3. It arises from unsafe deserialization of untrusted input in the 'import_gallery_from_csv' function. An attacker with Administrator privileges can inject PHP objects. However, the plugin alone does not contain a POP chain to enable exploitation. If other plugins or themes installed on the WordPress site contain POP chains, this vulnerability could be leveraged to perform destructive or unauthorized actions such as file deletion, sensitive data access, or remote code execution.
Potential Impact
The vulnerability allows high-privileged attackers (Administrator or above) to inject PHP objects via deserialization. Without a POP chain in the vulnerable plugin, exploitation alone does not lead to impact. If a POP chain exists in other installed plugins or themes, the attacker could delete arbitrary files, retrieve sensitive information, or execute arbitrary code, leading to full compromise of the affected WordPress site.
Mitigation Recommendations
No official patch or fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Administrator-level access to trusted users only and review installed plugins and themes for known POP chains that could be combined with this vulnerability. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2024-13906: CWE-502 Deserialization of Untrusted Data in bestwebsoft Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-13906 is a PHP Object Injection vulnerability in the Gallery by BestWebSoft plugin for WordPress, affecting all versions up to 4.7.3. It arises from unsafe deserialization of untrusted input in the 'import_gallery_from_csv' function. An attacker with Administrator privileges can inject PHP objects. However, the plugin alone does not contain a POP chain to enable exploitation. If other plugins or themes installed on the WordPress site contain POP chains, this vulnerability could be leveraged to perform destructive or unauthorized actions such as file deletion, sensitive data access, or remote code execution.
Potential Impact
The vulnerability allows high-privileged attackers (Administrator or above) to inject PHP objects via deserialization. Without a POP chain in the vulnerable plugin, exploitation alone does not lead to impact. If a POP chain exists in other installed plugins or themes, the attacker could delete arbitrary files, retrieve sensitive information, or execute arbitrary code, leading to full compromise of the affected WordPress site.
Mitigation Recommendations
No official patch or fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Administrator-level access to trusted users only and review installed plugins and themes for known POP chains that could be combined with this vulnerability. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-02-24T20:26:11.278Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6d1bb7ef31ef0b56dfc5
Added to database: 2/25/2026, 9:43:55 PM
Last enriched: 4/9/2026, 1:26:21 PM
Last updated: 4/12/2026, 3:55:37 PM
Views: 28
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.