Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-13906: CWE-502 Deserialization of Untrusted Data in bestwebsoft Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress

0
High
VulnerabilityCVE-2024-13906cvecve-2024-13906cwe-502
Published: Fri Mar 07 2025 (03/07/2025, 07:22:24 UTC)
Source: CVE Database V5
Vendor/Project: bestwebsoft
Product: 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

AILast updated: 04/09/2026, 13:26:21 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses