The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in…
CVE-2026-120080
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.
Assessment
- CVSS
- 5.4 (v3.1)
- Severity
- Medium
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 2 December 2026
- Last updated
- 2 December 2026
- Weakness
- CWE-79
- Assigner
- security@wordfence.com
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
At the source
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
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-120080