CVE-2025-13642 ProfilePress <= 4.16.7 - Authenticated (Subscriber+) Arbitrary Shortcode Execution

Medium 5.4 Published Updated

Authenticated attackers can execute arbitrary shortcodes via the form preview endpoint due to insufficient input sanitization.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-13642?

CVE-2025-13642 is a medium-severity code injection vulnerability in properfraction Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress, published on 9 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2025-13642?

How do I fix CVE-2025-13642?

No fix has been published for CVE-2025-13642 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-13642 being exploited?

There is no known exploitation of CVE-2025-13642 in the wild and no public exploit code.

Sources

Also known as GHSA-3q9v-pr9m-m226.

Is CVE-2025-13642 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free