CVE-2022-4652
WordPress vulnerability analysis and mitigation

Overview

CVE-2022-4652 is a security vulnerability discovered in the Video Background WordPress plugin versions below 2.7.5. The vulnerability was publicly disclosed on February 20, 2023, and affects the plugin's shortcode functionality. This vulnerability allows users with contributor-level access or higher to perform Stored Cross-Site Scripting (XSS) attacks (WPScan Details).

Technical details

The vulnerability stems from the plugin's failure to properly validate and escape shortcode attributes before outputting them back in pages or posts where the shortcode is embedded. The vulnerability has been assigned a CVSS score of 6.8 (medium) and is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). All shortcode attributes are affected, including container, mp4, webm, poster, loop, muted, overlay, overlay_color, overlay_alpha, tap_to_unmute, and source (WPScan Details).

Impact

The vulnerability allows authenticated users with contributor privileges or higher to inject malicious JavaScript code through shortcode attributes. This can lead to stored cross-site scripting attacks, potentially affecting other users who view the compromised pages or posts (WPScan Details).

Exploitability

The vulnerability can be exploited through various shortcode attributes. Example proof-of-concept exploits include injecting malicious JavaScript through the loop, overlay, and tap_to_unmute attributes. Specific attack vectors have been demonstrated using payloads such as [vidbg loop="1});alert(/XSS-loop/); $().vidbg({a:2"] and similar constructs for other attributes (WPScan Details).

Mitigation and workarounds

The vulnerability has been fixed in version 2.7.5 of the Video Background plugin. Users are advised to update to this version or later to mitigate the security risk (WPScan Details).

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-78570CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78568CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78572HIGH8.1
  • kalles-addons
NoNoAug 25, 2026
CVE-2026-78576HIGH7.5
  • readabler
NoYesAug 25, 2026
CVE-2026-76128MEDIUM6.4
  • ecommerce-product-catalog
NoYesAug 25, 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