PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2022-4672: 
WordPress vulnerability analysis and mitigation

Overview

The WordPress Simple Shopping Cart plugin (versions before 4.6.2) contains a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2022-4672. The vulnerability was publicly disclosed on December 27, 2022, and affects users with contributor-level privileges or higher. The issue stems from improper validation and escaping of shortcode attributes before they are output back to the page (WPScan Advisory).

Technical details

The vulnerability exists due to insufficient input validation and escaping of shortcode attributes in the WordPress Simple Shopping Cart plugin. The CVSS v3.1 base score is 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. The vulnerability is classified as CWE-79: Cross-Site Scripting (NVD Database).

Impact

When exploited, this vulnerability allows attackers with contributor-level access to perform Stored Cross-Site Scripting attacks that can target high-privilege users such as administrators. This could potentially lead to unauthorized actions being performed with administrator privileges (WPScan Advisory).

Exploitability

A proof of concept exploit has been published that demonstrates the vulnerability using a malicious shortcode: [wp_cart_button name='xss' price='1' button_text='" onmouseover="alert(1)" style="background:red;"']. The exploit can be triggered when an administrator views the affected page (WPScan Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 4.6.2 of the WordPress Simple Shopping Cart plugin. Site administrators are advised to update to this version or later to mitigate the security risk (WPScan Advisory).

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-97328HIGH7.5
  • webp-express
NoYesOct 22, 2026
CVE-2026-78392MEDIUM6.8
  • link-library
NoYesOct 22, 2026
CVE-2026-94295MEDIUM5.3
  • chikkili-google-pay-for-woocommerce
NoNoOct 22, 2026
CVE-2026-114570MEDIUM4.9
  • cpe:2.3:a:wordpress:wordpress
NoYesOct 22, 2026
CVE-2026-88849LOW2.7
  • masterstudy-lms-learning-management-system
NoYesOct 22, 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