Description
The WP User Avatar / ProfilePress plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions up to, and including, 4.17.5. This is due to the get_user_profile_structure() function assembling the front-end profile buffer — which includes raw comment excerpts inlined by author_comment_query() — and passing the entire buffer to do_shortcode() after only a narrow neutralization pass (ppress_neutralize_buffer_shortcodes) that blocks pp-custom-html and bracket fragments containing HTML delimiters but leaves any other well-formed shortcode intact. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary shortcodes (from any active plugin or theme) with attacker-chosen attributes by posting a comment whose body contains the shortcode markup; the shortcode is then executed server-side when any visitor loads the target's front-end profile Comments tab, letting the attacker reach capability-gated or data-returning shortcodes and inject raw HTML markup into a publicly viewable page.
Published: 2026-10-16
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary Shortcode Execution
Action: Apply Patch
AI Analysis

Impact

The plugin function get_user_profile_structure() assembles the front‑end profile buffer, including raw comment excerpts that are then passed to WordPress's shortcode engine after a limited neutralization pass. Authenticated users with Subscriber-level access or higher can inject arbitrary shortcodes into comment bodies; when any visitor views the target's front‑end profile 'Comments' tab, the attacker‑supplied shortcodes are executed on the server. This can trigger any shortcode available in active plugins or themes, allowing the injection of arbitrary HTML, disclosure of protected data via capability‑gated shortcodes, or execution of privileged plugin functions, thereby compromising confidentiality, integrity, and availability of the site.

Affected Systems

The vulnerability affects the WP User Avatar / ProfilePress plugin as delivered by properfraction, in all releases up to and including version 4.17.5. WordPress sites that rely on this plugin for user registration, login, or restricted content, and have Subscriber‑level users who can post comments, are vulnerable until the vendor releases an update.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity, and the EPSS score is currently unavailable, but the absence of a KEV listing suggests no known large‑scale exploitation. The attack requires an authenticated Subscriber and the ability to post a comment, which is commonly granted on most WordPress installations. Therefore, anyone who can comment on a user profile can supply a malicious shortcode that will execute for any visitor viewing that profile’s Comments tab, creating a broad audience for the injected payload. The entire risk surface is limited to front‑end profile pages and shortcodes available in the site's active plugins or theme.

Generated by OpenCVE AI on October 16, 2026 at 13:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the WP User Avatar / ProfilePress plugin to version 4.17.6 or later, which removes the insecure neutralization process.
  • If an immediate update is not possible, disable or remove the front‑end Comments tab from user profiles so that no comment content is rendered and processed by the shortcode engine.
  • Limit the Subscriber role so that they can only edit or moderate their own comments, or disable comment posting entirely, to prevent malicious shortcode injection.
  • Deploy a Web Application Firewall such as Wordfence with a rule to block or sanitize arbitrary shortcodes in comment content before rendering.

Generated by OpenCVE AI on October 16, 2026 at 13:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 08:45:00 +0000

Type Values Removed Values Added
Description The WP User Avatar / ProfilePress plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions up to, and including, 4.17.5. This is due to the get_user_profile_structure() function assembling the front-end profile buffer — which includes raw comment excerpts inlined by author_comment_query() — and passing the entire buffer to do_shortcode() after only a narrow neutralization pass (ppress_neutralize_buffer_shortcodes) that blocks pp-custom-html and bracket fragments containing HTML delimiters but leaves any other well-formed shortcode intact. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary shortcodes (from any active plugin or theme) with attacker-chosen attributes by posting a comment whose body contains the shortcode markup; the shortcode is then executed server-side when any visitor loads the target's front-end profile Comments tab, letting the attacker reach capability-gated or data-returning shortcodes and inject raw HTML markup into a publicly viewable page.
Title Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content <= 4.17.5 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Comment Content Rendered on ProfilePress User Profile 'Comments' Tab
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-16T08:27:43.226Z

Reserved: 2026-10-01T16:20:45.881Z

Link: CVE-2026-104003

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-16T09:17:03.843

Modified: 2026-10-16T09:17:03.843

Link: CVE-2026-104003

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T13:23:05Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')