CVE-2022-4473
WordPress vulnerability analysis and mitigation

Overview

The Widget Shortcode WordPress plugin through version 0.3.5 contains a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2022-4473. The vulnerability was discovered by István Márton and publicly disclosed on January 17, 2023. This security issue affects the WordPress plugin Widget Shortcode up to and including version 0.3.5 (WPScan).

Technical details

The vulnerability stems from the plugin's failure to properly validate and escape certain shortcode attributes before outputting them back in the page. The CVSS v3.1 base score is rated at 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. This indicates that the vulnerability requires network access, low attack complexity, low privileges, and user interaction, with impacts on confidentiality and integrity (NVD).

Impact

The vulnerability allows users with privileges as low as contributor to perform Stored Cross-Site Scripting attacks that could potentially target high-privilege users such as administrators. This could lead to unauthorized actions being performed in the context of the administrator's session (WPScan).

Exploitability

A proof of concept exploit has been publicly disclosed. The exploit involves using a malicious shortcode with the following format: [widget id='text-1' css_class='" onmouseover="alert(1)" style="background:red;width:300px;height:300px;']. This demonstrates the practical exploitability of the vulnerability (WPScan).

Mitigation and workarounds

As of the latest reports, there is no known fix available for this vulnerability. Users of the affected plugin should consider either removing it or implementing additional security controls to restrict access to the shortcode functionality (WPScan).

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-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 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