Vulnerability in Ad Inserter – Ad Manager & AdSense Ads — CVE-2026-130816
MediumSeverity
0.2%Estimated exploit probability
300,000+ sitesInstalls
2.8.20Fixed in
What to do now
Update Ad Inserter – Ad Manager & AdSense Ads to 2.8.20 or later.
Affected versions
- Everything up to and including 2.8.19
Affected: Ad Inserter – Ad Manager & AdSense Ads (plugin, ad-inserter)
What the vulnerability is
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Content Injection in all versions up to, and including, 2.8.19. This is due to missing sanitization of user-controlled data (such as the search query) substituted into ad block templates via preg_replace, allowing square bracket characters to be passed through and interpreted as WordPress shortcodes. This makes it possible for unauthenticated attackers to inject arbitrary shortcodes into ad block content, causing them to execute when the ad block is rendered on any page.