CVE-2026-120080: Ad Inserter <= 2.8.20 - Unauthenticated Stored Cross-Site Scripting via Output-Buffering Marker Injection via Guest Comment

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
wordpress/ad-inserter<=2.8.20

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable the plugin’s Output Buffering option to prevent exploitation that requires it to be enabled.

    Ad Inserter – Ad Manager & AdSense Ads Output Buffering = disabled

Event History

Dec 2, 2026
CVE Published
via MITRE·09:28 AM
Data Sourced
via MITRE·09:28 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions must be present for exploitation to work?

The site must have Ad Inserter's Output Buffering option enabled and at least one block configured for Inside-HTML-element, Replace-element, or Server-side insertion mode. The affected block's ad code must also contain no double-quote character.

2

Does an attacker need an account or user interaction?

No account is required; an unauthenticated attacker can submit the malicious content through the comment parameter. The comment is initially held for moderation, so exploitation depends on it being approved, after which the stored payload runs for subsequent visitors without further interaction.

3

Who is exposed after a malicious comment is approved?

Every visitor who accesses the injected page can execute the attacker-supplied script in their browser. The vulnerability can affect confidentiality and integrity, as reflected by the stated C:L and I:L impacts.

4

How can I determine whether my site is affected?

Check whether the installed Ad Inserter version is 2.8.20 or earlier. Then verify whether Output Buffering is enabled and whether any configured block uses Inside-HTML-element, Replace-element, or Server-side insertion with ad code containing no double-quote character.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203