PHP Object Injection Vulnerability in Gallery Plugin

Check todayFull system takeover over the network by a logged-in user.
7.2HIGH

CVE-2024-13906

Key Information:

Vendor

WordPress

CVE ID
CVE ID:
CVE-2024-13906
Vendor
CVE Published:
7 March 2025

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Gallery By Bestwebsoft – Customizable Image And Photo Galleries For WordPress. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (7.2).

What is CVE-2024-13906?

The Gallery plugin by BestWebSoft for WordPress is susceptible to PHP Object Injection through the β€˜import_gallery_from_csv’ functionality. This vulnerability is present in all versions up to 4.7.3 and may allow authenticated attackers with Administrator-level access to inject a PHP object via the deserialization of untrusted input. While there is no known Property-Oriented Programming (POP) chain in the affected software itself, the vulnerability's risk escalates if an additional plugin or theme with a POP chain is installed. If such a chain is present, attackers may exploit it to perform unauthorized actions, including deleting files, accessing sensitive information, or executing arbitrary code.

Affected Version(s)

Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress 0 <= 4.7.3

References

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate MemberπŸ˜„9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration AideπŸ‘Ύ9.8CRITICAL

Remote Code Execution in WP Duplicate Plugin

CVE-2026-14492
WordPressWP Duplicate – WordPre...9.8CRITICAL
View more WordPress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Credit

Hoang Phuc Vo
.