
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-13642 is an arbitrary shortcode execution vulnerability in the ProfilePress (Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content) plugin for WordPress. It affects all versions up to and including 4.16.7, and was published on December 9, 2025. The flaw allows authenticated attackers with Subscriber-level access or above to execute arbitrary shortcodes via the pp_preview_form endpoint. It carries a CVSS v3.1 base score of 5.4 (Medium) (Red Hat CVE, Wordfence).
The root cause is insufficient input sanitization on the type parameter within the plugin's form preview functionality (CWE-94: Improper Control of Generation of Code). Specifically, the FormPreviewHandler.php class fails to properly validate or sanitize user-supplied input before passing it to WordPress's shortcode execution engine, enabling injection of arbitrary shortcode strings. An attacker with at least Subscriber-level authentication can send a crafted request to the pp_preview_form endpoint with a malicious type parameter value to trigger shortcode execution. The vulnerable code paths are documented in the plugin's source at FormPreviewHandler.php lines 15 and 71 (Wordfence, WordPress Trac).
Successful exploitation allows authenticated attackers to execute arbitrary WordPress shortcodes in the context of the server, resulting in low-level confidentiality and integrity impacts. Attackers could leverage shortcodes to leak sensitive site data, modify displayed content, or invoke plugin/theme functionality not intended for their privilege level. Availability is not directly impacted, but chained exploitation with other shortcode-based vulnerabilities could extend the attack surface (Red Hat CVE, Wordfence).
No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported as of the time of disclosure. The EPSS score is approximately 0.042%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum a Subscriber-level WordPress account, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence).
pp_preview_form endpoint, injecting an arbitrary shortcode into the type parameter (e.g., type=[some_shortcode]).type parameter is passed to WordPress's shortcode processor in FormPreviewHandler.php, causing the injected shortcode to execute server-side.pp_preview_form endpoint with unexpected or encoded values in the type parameter from low-privilege user accounts./wp-admin/admin-ajax.php or equivalent) with type parameter values containing shortcode syntax (e.g., [shortcode_name]).FormPreviewHandler class.Users should update the ProfilePress plugin to version 4.16.8 or later, which addresses the insufficient input sanitization on the type parameter. The fix is documented in the plugin changeset at WordPress.org. If immediate update is not possible, site administrators should restrict user registration or disable Subscriber-level access to limit the attack surface. Monitoring the pp_preview_form endpoint for anomalous requests is also recommended as a temporary measure (WordPress Trac Changeset, Wordfence).
Wordfence, which discovered and reported the vulnerability, published a threat intelligence entry covering the technical details and remediation guidance. Sucuri included CVE-2025-13642 in their December 2025 vulnerability patch roundup, noting it as part of a broader set of WordPress plugin issues addressed that month (Sucuri Blog, Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."