The AdRotate Banner Manager plugin for WordPress is vulnerable to PHP Code Injection in all versions up to, and including, 5.17.7 via the 'banner' attribute of the adrotate shortcode. This is due to insufficient input validation and sanitization of the banner shortcode attribute before concatenation into a PHP code string wrapped in W3 Total Cache mfunc or Borlabs Cache fragment markers. This makes it possible for authenticated attackers, with Contributor-level access and above, to execute arbitrary PHP code on the server. This vulnerability requires W3 Total Cache or Borlabs Cache support to be enabled in AdRotate settings.
CVE-2026-12242
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-06-24. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(high)
- EPSS
- 37.2%
- KEV
- Not listed
Published
June 24, 2026
Last Modified
June 25, 2026
References (11)
- security@wordfencehttps://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L265
- security@wordfencehttps://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L276
- security@wordfencehttps://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L288
- security@wordfencehttps://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L265
- security@wordfencehttps://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L276
- security@wordfencehttps://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L288
- security@wordfencehttps://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L265
- security@wordfencehttps://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L276
- security@wordfencehttps://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L288
- security@wordfencehttps://plugins.trac.wordpress.org/changeset/3582562/
- security@wordfencehttps://www.wordfence.com/threat-intel/vulnerabilities/id/f29b905c-57cf-4fb8-b6af-eb0c367cd3e4?source=cve
Vendor Advisories for CVE-2026-12242(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 33× in last 7d / 61× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 19:56 UTCEG score recompute
- 2026-07-06 19:55 UTCGHSA enrichment
- 2026-07-06 19:52 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 06:39 UTCEG score recompute
- 2026-07-06 06:39 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 17:35 UTCEG score recompute
- 2026-07-05 17:35 UTCGHSA enrichment
- 2026-07-05 04:31 UTCEG score recompute
- 2026-07-05 04:30 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 15:26 UTCEG score recompute
- 2026-07-04 15:26 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 02:22 UTCEG score recompute
- 2026-07-04 02:22 UTCGHSA enrichment
- 2026-07-03 13:08 UTCEG score recompute
- 2026-07-03 13:08 UTCGHSA enrichment
- 2026-07-03 00:05 UTCEG score recompute
- 2026-07-03 00:05 UTCGHSA enrichment
- 2026-07-02 11:01 UTCEG score recompute
- 2026-07-02 11:01 UTCGHSA enrichment
- 2026-07-01 21:36 UTCEG score recompute
Show 36 moreShow fewer
- 2026-07-01 21:36 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 08:33 UTCEG score recompute
- 2026-07-01 08:33 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 19:29 UTCEG score recompute
- 2026-06-30 19:29 UTCGHSA enrichment
- 2026-06-30 06:26 UTCEG score recompute
- 2026-06-30 06:26 UTCGHSA enrichment
- 2026-06-29 17:22 UTCEG score recompute
- 2026-06-29 17:22 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 04:17 UTCEG score recompute
- 2026-06-29 04:17 UTCGHSA enrichment
- 2026-06-28 15:14 UTCEG score recompute
- 2026-06-28 15:14 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 02:11 UTCEG score recompute
- 2026-06-28 02:11 UTCGHSA enrichment
- 2026-06-27 13:08 UTCEG score recompute
- 2026-06-27 13:08 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 00:04 UTCEG score recompute
- 2026-06-27 00:04 UTCGHSA enrichment
- 2026-06-26 11:01 UTCEG score recompute
- 2026-06-26 11:01 UTCGHSA enrichment
- 2026-06-25 18:16 UTCEG score recompute
- 2026-06-25 18:16 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 05:12 UTCEG score recompute
- 2026-06-25 05:12 UTCGHSA enrichment
- 2026-06-24 16:04 UTCEG score recompute
- 2026-06-24 16:04 UTCGHSA enrichment
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2006-1359NVD 0.0EG 9.0EPSS 99%NONE
- CVE-2005-1921NVD 0.0EG 9.0EPSS 100%NONE
- CVE-2005-3302EG 7.3HIGH
- CVE-2005-1876EG 4.5MEDIUM
- CVE-2003-1599EG 0.0NONE
- CVE-2006-1318EG 0.0EPSS 96%NONE
- CVE-2006-1301EG 0.0EPSS 95%NONE
- CVE-2006-1308EG 0.0EPSS 95%NONE
- CVE-2006-1309EG 0.0EPSS 95%NONE
- CVE-2006-1304EG 0.0EPSS 95%NONE
Frequently asked(5)
What is CVE-2026-12242?
When was CVE-2026-12242 disclosed?
Is CVE-2026-12242 actively exploited?
What is the CVSS score of CVE-2026-12242?
How do I remediate CVE-2026-12242?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-12242
Is Your Infrastructure Affected by CVE-2026-12242?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.