Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12242: CWE-94 Improper Control of Generation of Code ('Code Injection') in adegans AdRotate Banner Manager

0
High
VulnerabilityCVE-2026-12242cvecve-2026-12242cwe-94
Published: 06/24/2026 (06/24/2026, 12:33:29 UTC)
Source: CVE Database V5
Vendor/Project: adegans
Product: AdRotate Banner Manager

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.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
<=5.17.7

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 13:09:08 UTC

Technical Analysis

CVE-2026-12242 is a high-severity vulnerability (CVSS 8.8) in the AdRotate Banner Manager WordPress plugin caused by improper control of code generation (CWE-94). The vulnerability arises from inadequate sanitization of the 'banner' attribute in the adrotate shortcode, which is concatenated into PHP code wrapped in W3 Total Cache mfunc or Borlabs Cache fragment markers. This allows authenticated attackers with Contributor or higher privileges to execute arbitrary PHP code on the server, contingent on cache support being enabled in the plugin. No official patch or remediation guidance is currently available.

Potential Impact

Successful exploitation allows authenticated users with Contributor-level access or above to execute arbitrary PHP code on the web server hosting the WordPress site. This can lead to full compromise of the server, including data theft, site defacement, or further pivoting within the network. The vulnerability requires that W3 Total Cache or Borlabs Cache support is enabled in AdRotate settings, limiting the attack surface to sites using these caching features.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider disabling W3 Total Cache or Borlabs Cache support in AdRotate settings to mitigate the risk. Additionally, restrict Contributor-level access and above to trusted users only, as exploitation requires authenticated access with these privileges.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-06-15T06:21:42.514Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3bd381eed863c81ed8b46d

Added to database: 06/24/2026, 12:54:25 UTC

Last enriched: 06/24/2026, 13:09:08 UTC

Last updated: 06/24/2026, 14:17:08 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses