CVE-2023-6623
WordPress vulnerability analysis and mitigation

Overview

The Essential Blocks WordPress plugin (versions before 4.4.3) contains a critical Local File Inclusion vulnerability identified as CVE-2023-6623. The vulnerability was discovered on December 8, 2023, and publicly disclosed on December 21, 2023, after the patch was released in version 4.4.3 on December 18, 2023. The vulnerability affects all installations of the Essential Blocks plugin running versions prior to 4.4.3 (WPScan Blog).

Technical details

The vulnerability stems from improper handling of local variables when rendering templates over the REST API. The plugin's template system uses the PHP extract() function without the EXTR_SKIP flag, allowing attackers to overwrite already defined variables, including those holding the path to the template to include. This vulnerability is classified as CWE-22 (Path Traversal) and has received a CVSS v3.1 score of 9.8 (Critical), indicating its severe nature (NVD, WPScan Blog).

Impact

When successfully exploited, this vulnerability allows unauthenticated attackers to include arbitrary files hosted on the server to be parsed and executed as PHP files. This could potentially lead to Remote Code Execution on certain server configurations, representing a critical security risk for affected websites (WPScan Blog).

Exploitability

The vulnerability can be exploited by unauthenticated attackers through the REST API endpoint. A proof of concept exists demonstrating how attackers can manipulate the query parameters to achieve local file inclusion. The exploit involves sending a specially crafted request to the wp-json/essential-blocks/v1/queries endpoint (WPScan Vulnerability).

Mitigation and workarounds

The recommended mitigation is to update the Essential Blocks plugin to version 4.4.3 or later, which contains the security fix. The plugin authors promptly addressed the vulnerability by releasing a patched version after being notified of the issue (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-2026-18044NONEN/A
  • estatik
NoYesAug 12, 2026
CVE-2026-17008NONEN/A
  • quick-paypal-payments
NoNoAug 12, 2026
CVE-2026-16990NONEN/A
  • wp-paypal
NoNoAug 12, 2026
CVE-2026-16747NONEN/A
  • kirki
NoYesAug 12, 2026
CVE-2026-16621NONEN/A
  • woo-paypal-gateway
NoYesAug 12, 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