CVE-2022-1028
WordPress vulnerability analysis and mitigation

Overview

The WordPress Security Firewall, Malware Scanner, Secure Login and Backup plugin (wp-security-pro) before version 4.2.1 contains a Cross-Site Scripting (XSS) vulnerability identified as CVE-2022-1028. The vulnerability was discovered by Niraj Mahajan and was publicly disclosed on June 6, 2022 (WPScan Advisory).

Technical details

The vulnerability stems from improper sanitization and escaping of certain plugin settings. This security flaw is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) and has received a CVSS v3.1 base score of 4.8 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N. The vulnerability specifically affects the 'Advanced Blocking' tab in the 'Block HTTP Referer's' section (NVD, WPScan Advisory).

Impact

The vulnerability allows malicious users with administrator privileges to store and execute malicious JavaScript code, particularly in environments where unfiltered_html is disallowed, such as in multisite setups. This can lead to Cross-Site Scripting attacks, potentially compromising the security of the affected WordPress installation (WPScan Advisory).

Mitigation and workarounds

The vulnerability has been fixed in version 4.2.1 of the WordPress Security plugin. Users are advised to update to this version or later to mitigate the risk (WPScan Advisory).

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-2025-13126HIGH7.5
  • wpforo
NoYesDec 14, 2025
CVE-2025-12537MEDIUM6.4
  • addon-elements-for-elementor-page-builder
NoYesDec 14, 2025
CVE-2025-9873MEDIUM6.4
  • a3-lazy-load
NoYesDec 13, 2025
CVE-2025-9856MEDIUM6.4
  • popup-builder
NoYesDec 13, 2025
CVE-2025-12696N/AN/A
  • hls-crm-form-shortcode
NoNoDec 14, 2025

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