---
id: CVE-2026-104003
title: >-
  The WP User Avatar / ProfilePress plugin for WordPress is vulnerable to
  Arbitrary Shortcode Execution in versions up to, and including, 4.17.5
summary: >-
  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 buf…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-94
vendor: properfraction
product: >-
  Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User
  Profile & Restrict Content – ProfilePress
affected:
  - >-
    paid_membership_plugin_ecommerce_user_registration_form_login_form_user_profile_restrict_content_profilepress
    <= 4.17.5
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:17:03.103'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104003'
references:
  - url: 'https://pastebin.com/raw/pCgrW6Pf'
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-user-avatar/tags/4.17.5/src/Functions/GlobalFunctions.php#L1768
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-user-avatar/tags/4.17.5/src/ShortcodeParser/Builder/FrontendProfileBuilder.php#L169
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-user-avatar/tags/4.17.5/src/ShortcodeParser/FrontendProfileTag.php#L142
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-user-avatar/tags/4.17.5/src/Themes/DragDrop/UserProfile/DefaultTemplate.php#L379
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-user-avatar/tags/4.17.6/src/ShortcodeParser/FrontendProfileTag.php
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/83adfbff-f625-4474-81b9-961c496d59a0?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
epss: 0.00227
epssPercentile: 0.13323
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T14:53:07.727463Z'
ingestedAt: '2026-10-16T09:03:22.690Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
