What the vulnerability does
01Description
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via URL Parameters in iframe Mode in all versions up to, and including, 2.8.15 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires that iframe mode (AI_OPTION_IFRAME) is enabled on at least one ad block displayed on the targeted page, which is a non-default but supported configuration commonly used for AdSense and JavaScript-based ads.
Explanation of Vulnerability in Simple Terms
02Summary
Ad Inserter contains a cross-site scripting (XSS) vulnerability in versions up to 2.8.15. An attacker can inject malicious scripts that execute in the browsers of site visitors or administrators. The vulnerability requires user interaction—typically clicking a malicious link—and can affect other users or the site itself depending on where the injection occurs.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in visitors' or admins' browsers, stealing cookies, session tokens, or performing actions on their behalf.
Potential impact on your site
04Site Impact
Visitors and administrators could have their sessions hijacked, credentials stolen, or be redirected to malicious sites without your knowledge.
Conditions required to exploit
05Prerequisites
No authentication required. Victim must click a malicious link or visit an attacker-controlled page that triggers the vulnerability.
Key dates
06Disclosure timeline
June 6, 2026
CVE published
June 6, 2026
Record updated