CVE-2022-4792
WordPress vulnerability analysis and mitigation

Overview

The News & Blog Designer Pack WordPress plugin (CVE-2022-4792) contains a stored Cross-Site Scripting (XSS) vulnerability affecting versions before 3.3. The vulnerability was discovered on January 6, 2023, and allows users with contributor-level privileges or higher to perform stored XSS attacks through unvalidated shortcode attributes (WPScan).

Technical details

The vulnerability stems from improper validation and escaping of shortcode attributes in the plugin. It has been assigned a CVSS v3.1 base score of 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) and can be exploited using a malicious shortcode: [bdp_masonry grid='1" onmouseover="alert(1)" style="background:red;"'] (NVD, WPScan).

Impact

The vulnerability allows attackers with contributor-level access to inject malicious JavaScript code that executes in users' browsers when viewing affected pages. This could lead to theft of sensitive information, session hijacking, or other malicious actions performed in the context of the victim's browser (WPScan).

Exploitability

The vulnerability requires an authenticated user with at least contributor-level access to exploit. A proof-of-concept exploit has been publicly disclosed, demonstrating the ability to execute arbitrary JavaScript code through manipulated shortcode attributes (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 3.3 of the News & Blog Designer Pack plugin. Users are advised to update to this version or later to mitigate the risk (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