CVE-2026-120080
Ad Inserter <= 2.8.20 - Unauthenticated Stored Cross-Site Scripting via Output-Buffering Marker Injection via Guest Comment
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Ad Inserter – Ad Manager & AdSense Ads |
affected up to and including 2.8.20
Other versions: unaffected
|
Is my server affected?
This CVE is in Ad Inserter – Ad Manager & AdSense Ads of spacetime, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/03ac4da2-868a-49d4-9a0a-7c2a82ffab5c?source=cve wordfence.com
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/constants.php#L1076 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1013 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1035 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1058 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1111 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1147 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1044 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1106 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/ad-inserter.php#L1129 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.20/constants.php#L1077 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/ad-inserter/ plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset/3831070/ad-inserter/trunk/ad-inserter.php plugins.trac.wordpress.org
Source: the record CVE-2026-120080 of the CVE List (CVE Program), CVE Terms of Use; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse