CVE-2024-13906: Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress <= 4.7.3 - Authenticated (Administrator+) PHP Object Injection

Published Mar 7, 2025
·
Updated

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 'importgalleryfromcsv' 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.

Affected Software

1 affected component
Bestwebsoft Gallery<=4.7.3

Event History

Mar 7, 2025
CVE Published
via MITRE·07:22 AM
Data Sourced
via MITRE·07:22 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-13906?

CVE-2024-13906 is considered a critical vulnerability due to its ability to allow PHP Object Injection.

2

How do I fix CVE-2024-13906?

To mitigate CVE-2024-13906, update the Gallery by BestWebSoft plugin to version 4.8 or later.

3

What versions are affected by CVE-2024-13906?

CVE-2024-13906 affects all versions of the BestWebSoft Gallery plugin up to and including 4.7.3.

4

What is PHP Object Injection in CVE-2024-13906?

PHP Object Injection in CVE-2024-13906 allows an attacker to exploit the 'import_gallery_from_csv' function through deserialization of untrusted input.

5

Are there any known exploits for CVE-2024-13906?

As of now, there are no publicly disclosed exploits specifically targeting CVE-2024-13906.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203