CVE-2026-12242 json
AdRotate Banner Manager <= 5.17.7 - Authenticated (Contributor+) PHP Code Injection via 'banner' Shortcode Attribute
published 4mo ago modified 4mo ago also EUVD-2026-38758
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2026-12242 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 4mo ago
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- adegans AdRotate Banner Manager
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/f29b905c-57cf-4fb8-b6af-eb0c367cd3e4?source=cve
- plugins.trac.wordpress.org /browser/adrotate/trunk/adrotate-output.php#L265
- plugins.trac.wordpress.org /browser/adrotate/trunk/adrotate-output.php#L276
- plugins.trac.wordpress.org /browser/adrotate/tags/5.17.5/adrotate-output.php#L276
- plugins.trac.wordpress.org /browser/adrotate/trunk/adrotate-output.php#L288
- plugins.trac.wordpress.org /browser/adrotate/tags/5.17.5/adrotate-output.php#L288
- plugins.trac.wordpress.org /browser/adrotate/tags/5.17.5/adrotate-output.php#L265
- plugins.trac.wordpress.org /browser/adrotate/tags/5.17.4/adrotate-output.php#L276
- plugins.trac.wordpress.org /browser/adrotate/tags/5.17.4/adrotate-output.php#L288
- plugins.trac.wordpress.org /browser/adrotate/tags/5.17.4/adrotate-output.php#L265
- plugins.trac.wordpress.org /changeset/3582562/
Sources
- CVE List CVE-2026-12242
- NVD CVE-2026-12242
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.