CVE-2026-120080
MEDIUM 5.4CVSS 3.1Ad Inserter <= 2.8.20 - Unauthenticated Stored Cross-Site Scripting via Output-Buffering Marker Injection via Guest Comment
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security@wordfence.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@wordfence.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| CVE List | Wordfence | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | spacetime | Ad Inserter – Ad Manager & AdSense Ads | <= 2.8.20 |
References
- https://plugins.trac.wordpress.org/browser/ad-inserter/
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1013
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1035
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1044
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1058
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1106
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1111
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1129
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1147
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/constants.php#L1076
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/constants.php#L1077
- https://plugins.trac.wordpress.org/changeset/3831070/ad-inserter/trunk/ad-inserter.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/03ac4da2-868a-49d4-9a0a-7c2a82ffab5c?source=cve
History
- 2 Dec 2026 14:42 UTC · NVD: updated (other details)
- 2 Dec 2026 13:48 UTC · CVE List: updated (other details)
- 2 Dec 2026 11:48 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 09:48 UTC · CVE List: first stored (published 2 Dec 2026)