CVE-2022-0661
WordPress vulnerability analysis and mitigation

Overview

The Ad Injection WordPress plugin through version 1.2.0.19 contains a security vulnerability identified as CVE-2022-0661. The vulnerability was discovered by researcher Asif Nawaz Minhas and was publicly disclosed on March 22, 2022. This security issue affects the plugin's advertisement injection functionality, specifically impacting the way adverts are processed and displayed in WordPress pages (WPScan).

Technical details

The vulnerability stems from improper sanitization of advert body content in the plugin. This security flaw allows privileged users (Admin+) to inject arbitrary HTML or JavaScript code, even when the unfilteredhtml capability is disabled. Additionally, the vulnerability enables PHP code injection, which can lead to Remote Code Execution (RCE), even when DISALLOWFILEEDIT and DISALLOWFILE_MOD constants are set. The vulnerability has been assigned a CVSS score of 7.2, indicating a high severity level (WPScan).

Impact

The vulnerability can be exploited to perform both stored Cross-Site Scripting (XSS) attacks and Remote Code Execution (RCE). This dual impact makes the vulnerability particularly dangerous as it allows attackers with administrative access to potentially take complete control of the affected WordPress installation (WPScan).

Mitigation and workarounds

As of the vulnerability disclosure, there is no known fix available for this security issue. Website administrators running the affected version of the Ad Injection plugin should consider either removing the plugin or implementing strict access controls to administrative functions (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-2025-13342CRITICAL9.8
  • acf-frontend-form-element
NoYesDec 03, 2025
CVE-2025-13359MEDIUM6.5
  • simple-tags
NoYesDec 03, 2025
CVE-2025-13756MEDIUM4.3
  • fluent-booking
NoYesDec 03, 2025
CVE-2025-13354MEDIUM4.3
  • simple-tags
NoYesDec 03, 2025
CVE-2025-13109MEDIUM4.3
  • woocommerce-products-filter
NoYesDec 03, 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