CVE-2023-1381
WordPress vulnerability analysis and mitigation

Overview

The WP Meta SEO WordPress plugin versions before 4.5.5 contained a PHAR deserialization vulnerability (CVE-2023-1381) discovered during an internal audit by the WPScan team. The vulnerability allows attackers with Author-level privileges or higher to upload and deserialize PHAR files, potentially leading to arbitrary PHP object deserialization. The issue was disclosed on March 27, 2023, and was fixed in version 4.5.5 (WPScan Blog).

Technical details

The vulnerability stems from the plugin's failure to validate image file paths before manipulation. When the 'Reload Analysis' button is clicked in the SEO Page Optimization feature, the plugin processes post content and images. The vulnerability exists because the file_exists function is called on user-controlled paths without proper validation. On PHP versions prior to 8.0, if the path uses the phar:// stream wrapper pointing to a PHAR file, it triggers automatic deserialization of the PHP metadata object within the file. The vulnerability has a CVSS score of 7.2 (High) (WPScan Blog).

Impact

The vulnerability can be exploited to achieve remote code execution on systems running PHP versions before 8.0, due to the presence of known deserialization gadgets (including guzzlehttp and monolog libraries) within the plugin's vendor directory. WordPress instances running on PHP 8.0 and above are not susceptible to this vulnerability as PHP 8.0 disabled automatic deserialization of PHAR metadata (WPScan Blog).

Mitigation and workarounds

Site owners are strongly recommended to update to WP Meta SEO version 4.5.5 or later, which contains the fix for this vulnerability. Additionally, running WordPress on PHP 8.0 or higher provides protection against this specific type of vulnerability as it disables automatic PHAR metadata deserialization. Using a robust security solution like Jetpack Security can provide additional protection against such vulnerabilities (WPScan Blog).

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-9873MEDIUM6.4
  • a3-lazy-load
NoYesDec 13, 2025
CVE-2025-9856MEDIUM6.4
  • popup-builder
NoYesDec 13, 2025
CVE-2025-9488MEDIUM6.4
  • redux-framework
NoYesDec 13, 2025
CVE-2025-9207MEDIUM5.3
  • ti-woocommerce-wishlist
NoYesDec 13, 2025
CVE-2025-9218LOW3.7
  • buddypress-media
NoYesDec 13, 2025

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