Description
The Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 4.16.7 due to insufficient input sanitization on the `type` parameter in the form preview functionality. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes via the `pp_preview_form` endpoint.
Problem types
CWE-94 Improper Control of Generation of Code ('Code Injection')
Product status
* (semver)
Timeline
| 2025-11-25: | Vendor Notified |
| 2025-12-08: | Disclosed |
Credits
Nguyen Ngoc Quang Bach
References
www.wordfence.com/...-814e-4eeb-91e8-5ee41fc35a8f?source=cve
plugins.trac.wordpress.org/...Classes/FormPreviewHandler.php
plugins.trac.wordpress.org/...Classes/FormPreviewHandler.php
plugins.trac.wordpress.org/changeset/3408055/