8.8
HIGH CVSS 3.1
CVE-2026-12242
AdRotate Banner Manager <= 5.17.7 - Authenticated (Contributor+) PHP Code Injection via 'banner' Shortcode Attribute
Description

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.

INFO

Published Date :

June 24, 2026, 1:16 p.m.

Last Modified :

June 25, 2026, 1:26 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-12242 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH [email protected]
Solution
Update AdRotate Banner Manager plugin to a secure version to prevent PHP code injection.
  • Update the AdRotate Banner Manager plugin.
  • Remove or sanitize user-submitted banner content.
  • Review server configurations for code execution vulnerabilities.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-12242 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-12242 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-12242 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-12242 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 24, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-12242', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-24T13:01:30.997655Z'}
  • New CVE Received by [email protected]

    Jun. 24, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'adegans', 'product': 'AdRotate Banner Manager', 'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '5.17.7'}], 'defaultStatus': 'unaffected'}]
    Added Description 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.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-94
    Added Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L265
    Added Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L276
    Added Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.4/adrotate-output.php#L288
    Added Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L265
    Added Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L276
    Added Reference https://plugins.trac.wordpress.org/browser/adrotate/tags/5.17.5/adrotate-output.php#L288
    Added Reference https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L265
    Added Reference https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L276
    Added Reference https://plugins.trac.wordpress.org/browser/adrotate/trunk/adrotate-output.php#L288
    Added Reference https://plugins.trac.wordpress.org/changeset/3582562/
    Added Reference https://www.wordfence.com/threat-intel/vulnerabilities/id/f29b905c-57cf-4fb8-b6af-eb0c367cd3e4?source=cve
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.