Home / spacetime / Ad Inserter – Ad Manager & AdSense Ads / CVE-2026-19902
CVE-2026-19902: is it exploited, and which versions of spacetime Ad Inserter – Ad Manager & AdSense Ads are affected and fixed?
CVE-2026-19902 is a cross-site scripting (XSS) vulnerability in spacetime Ad Inserter – Ad Manager & AdSense Ads. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: Ad Inserter – Ad Manager & AdSense Ads through 2.8.18 (CVE record by Wordfence). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.1, CVSS 3.1, from Wordfence).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-19902?
Ad Inserter <= 2.8.18 - Reflected Cross-Site Scripting via {search-query} Dynamic Tag (Referer Header)
The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the Referer header in all versions up to, and including, 2.8.18 due to insufficient input sanitization and output escaping on the '{search-query}' dynamic tag. When an ad block's code contains that tag, replace_ai_tags() reads $_SERVER['HTTP_REFERER'] and tests it with the regex /[\.\/](google|yahoo|bing|ask)\.[a-z\.]{2,5}[\/]/i. The leading [\.\/] class matches a literal slash, so any referrer merely containing a segment such as '/google.com/' passes as a search-engine referral; the plugin then percent-decodes the referring query with parse_str() and substitutes the resulting 'q' (or 'p') value into the block via preg_replace() with no escaping. This makes it possible for unauthenticated attackers to execute arbitrary JavaScript in the context of the site for any visitor, including a signed-in administrator, by luring them to an attacker-controlled page that frames or links to any ordinary post. Exploitation requires the site to have an ad block whose code uses the '{search-query}' tag with automatic insertion enabled — a documented plugin feature used as intended.
From the CVE record by Wordfence, last updated October 3, 2026, 15:42 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| spacetime | Ad Inserter – Ad Manager & AdSense Ads | through 2.8.18 |
As the CVE record by Wordfence states it, last updated October 3, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-19902?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | Wordfence |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-19902 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 3, 2026)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 18.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5d632cce-40a9-4969-b213-8370ae75287e?source=cve
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.18/ad-inserter.php#L13093
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.18/ad-inserter.php#L13018
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.18/ad-inserter.php#L13022
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.18/ad-inserter.php#L13025
- https://plugins.trac.wordpress.org/browser/ad-inserter/tags/2.8.18/class.php#L3297
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3709970%40ad-inserter%2Ftags%2F2.8.19&old=3624916%40ad-inserter%2Ftags%2F2.8.18
- https://plugins.trac.wordpress.org/changeset/3709957/ad-inserter/trunk/ad-inserter.php
Who found and reported it?
- Yuto Hyakumoto (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 14, 2026
- Published
- October 1, 2026, 07:40 UTC
- CVE record updated
- October 3, 2026, 15:42 UTC by Wordfence
- NVD
- Deferred, last modified October 3, 2026, 16:16 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ad Inserter – Ad Manager & AdSense Ads?
- Dec 2, 2026CVE-2026-120034 spacetime Ad Inserter – Ad Manager & AdSense Ads: cross-site scripting (XSS)
- Dec 2, 2026CVE-2026-120080 spacetime Ad Inserter – Ad Manager & AdSense Ads: cross-site scripting (XSS)
- Oct 30, 2026CVE-2026-102905 spacetime Ad Inserter – Ad Manager & AdSense Ads: code injection (remote code execution)
- Oct 13, 2026CVE-2026-89097 spacetime Ad Inserter – Ad Manager & AdSense Ads: information disclosure
- Oct 1, 2026CVE-2026-89427 spacetime Ad Inserter – Ad Manager & AdSense Ads: cross-site scripting (XSS)
- Sep 16, 2026CVE-2026-11984 spacetime Ad Inserter – Ad Manager & AdSense Ads: missing authorization
- Aug 6, 2026CVE-2026-11983 spacetime Ad Inserter – Ad Manager & AdSense Ads: missing authorization
- Jul 3, 2026CVE-2026-11900 spacetime Ad Inserter – Ad Manager & AdSense Ads: authorization bypass through a user-controlled key (IDOR)
Every CVE in Ad Inserter – Ad Manager & AdSense Ads
Questions about CVE-2026-19902
Is CVE-2026-19902 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of spacetime Ad Inserter – Ad Manager & AdSense Ads are affected by CVE-2026-19902?
Ad Inserter – Ad Manager & AdSense Ads through 2.8.18, per the CVE record by Wordfence. The tables above give every range the sources list.
Which version fixes CVE-2026-19902?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-19902?
Medium (6.1, CVSS 3.1, from Wordfence). The severity table above shows each score with its source.
Where is the official record of CVE-2026-19902?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.