Ad Inserter <= 2.8.20 - Unauthenticated Stored Cross-Site Scripting via Output-Buffering Marker Injection via Guest Comment
Strategic Overview
- Status
- Patched in 2.8.21
- Affected Plugin
- Ad Inserter – Ad Manager & AdSense Ads
- Affected Version
<= 2.8.20- CVSS
- 5.4Medium
- Weakness type
- CWE-79 · Improper Neutralization of Input During Web Page Generation
- CVE
CVE-2026-120080
At a glance
CVE-2026-120080 is a medium-severity Improper Neutralization of Input During Web Page Generation vulnerability in the Ad Inserter WordPress plugin, affecting versions <= 2.8.20. It carries a CVSS score of 5.4 (reachable over the network). Exploitation requires no authentication. The issue is fixed in version 2.8.21; sites on affected versions should update now. Disclosed December 2026, reported by Maciej Komorowski.
Vulnerability Overview
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 2.8.20 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires that the site has the plugin's Output Buffering option enabled and at least one block configured for Inside-HTML-element, Replace-element, or Server-side insertion mode with ad code that contains no double-quote character; once an initially moderation-held comment is approved, the payload executes for every subsequent visitor with no further interaction.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no privileges on the target site, and no interaction from a victim user.
CWE-79: Improper Neutralization of Input During Web Page Generation
Ad Inserter <= 2.8.20 carries this weakness at comment, and reaching it takes no account at all. Cross-site scripting happens when input from a request is written into a page without being escaped for the context it lands in, so the browser parses attacker-supplied text as markup or script.
Injected script runs with the privileges of whoever views the affected page, which is how these flaws turn into administrator session theft, silent account creation or persistent backdoors in page content. For Ad Inserter the fix is 2.8.21: builds <= 2.8.20 are affected, anything from 2.8.21 onward is not.
Remediation
Update to version 2.8.21, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Ad Inserter 2.8.21 closes this, and updating the plugin is the step that ends it.
- Firewall
- Login Security
- Alerts
External References
Related records
Same weakness class
- 7.2CVE-2026-105077: Ad Inserter – Ad Manager & AdSense Ads Stored XSS
CVE-2026-105077 - 7.2CVE-2026-97077: Ad Inserter – Ad Manager & AdSense Ads Stored XSS
CVE-2026-97077 - 6.4CVE-2026-118094: Ad Inserter – Ad Manager & AdSense Ads Stored XSS
CVE-2026-118094 - 6.4CVE-2026-107864: Ad Inserter – Ad Manager & AdSense Ads Stored XSS
CVE-2026-107864
Other vulnerabilities in Ad Inserter – Ad Manager & AdSense Ads
- 8.8CVE-2019-15324: Ad Inserter <= 2.4.21 Remote Code Execution
CVE-2019-15324 - 8.8CVE-2015-9497: Ad Inserter CSRF to Cross-Site Scripting
CVE-2015-9497 - 7.5CVE-2019-15323: Ad Inserter <= 2.4.19 Path Traversal
CVE-2019-15323 - 7.2CVE-2023-1549: Ad Inserter <= 2.7.25 PHP Object Injection
CVE-2023-1549 - 7.2Ad Inserter < 2.7.11 Remote Code Execution
- 6.5CVE-2026-134968: Ad Inserter Arbitrary Shortcode Execution
CVE-2026-134968 - 6.5CVE-2026-130816: Ad Inserter Arbitrary Shortcode Execution
CVE-2026-130816 - 6.5CVE-2026-124262: Ad Inserter Arbitrary Shortcode Execution
CVE-2026-124262
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C