CVE-2023-40555
WordPress vulnerability analysis and mitigation

Overview

The Flatsome theme for WordPress contains a Deserialization of Untrusted Data vulnerability (CVE-2023-40555) affecting versions up to and including 3.17.5. The vulnerability was discovered in August 2023 and publicly disclosed on September 6, 2023. This premium WooCommerce theme, with over 660,000 active installations, is developed by UX-themes (Patchstack).

Technical details

The vulnerability stems from improper sanitization of user input before passing it to the maybe_unserialize function, which is a wrapper for PHP's unserialize function. The issue exists in the flatsome_ajax_load_instagram function, where the $_GET['data'] parameter is processed without adequate filtering. This allows unauthenticated users to pass arbitrary serialized strings to the vulnerable unserialize call. The vulnerability has received a CVSS v3.1 base score of 9.8 (Critical) from NVD and 8.3 (High) from Patchstack (NVD, WPScan).

Impact

While no significant POP (Property Oriented Programming) chain was discovered in the vulnerable plugin itself, if a POP chain is present via additional plugins or themes installed on the WordPress site, attackers could potentially delete arbitrary files, retrieve sensitive data, or execute code on the affected system (Patchstack).

Mitigation and workarounds

The vulnerability was patched in version 3.17.6 of the Flatsome theme. The fix involves replacing the unsafe maybe_unserialize function with JSON format processing for handling the data. Users are strongly advised to update to version 3.17.6 or later. For developers, it is recommended to avoid using unserialize for processing user-controlled data and instead use JSON for complex data structures (Patchstack).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-47552CRITICAL9.8
  • dzs-videogallery
NoNoJan 07, 2026
CVE-2025-46494HIGH7.1
  • widgetkit-pro
NoNoJan 07, 2026
CVE-2025-46434MEDIUM6.5
  • theplus_elementor_addon
NoYesJan 07, 2026
CVE-2025-14275MEDIUM6.4
  • jeg-elementor-kit
NoYesJan 08, 2026
CVE-2025-12640MEDIUM4.3
  • folders
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management