---
id: CVE-2026-18547
title: >-
  The Ultimate Member – User Profile, Registration, Login, Member Directory,
  Content Restriction & Membership Plugin plugin for WordPress is vulnerable to
  Stored Cross-Site Scripting via Textarea Profile Field with HTML Support (DOM
  Gadget…
summary: >-
  The Ultimate Member – User Profile, Registration, Login, Member Directory,
  Content Restriction & Membership Plugin plugin for WordPress is vulnerable to
  Stored Cross-Site Scripting via Textarea Profile Field with HTML Support (DOM
  Gadget…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-08-25'
updated: '2026-09-28'
sourceUpdated: '2026-09-28T23:10:00.143'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-18547'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.11.4/assets/js/common.js#L51
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.11.4/includes/class-functions.php#L580
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.11.4/includes/core/class-form.php#L853
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.12.1/assets/js/common.js#L51
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.12.1/includes/class-functions.php#L580
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.12.1/includes/core/class-form.php#L853
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3663931%40ultimate-member&new=3663931%40ultimate-member
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/a7961bcc-eae7-40e1-8838-9755c7655500?source=cve
    label: security@wordfence.com
tags:
  - nvd
ingestedAt: '2026-09-28T23:23:00.552Z'
---

## Overview

The Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Textarea Profile Field with HTML Support (DOM Gadget via id Attribute) in all versions up to, and including, 2.12.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is possible because the wp_kses 'templates' allowlist permits the id attribute on div elements but does not neutralize unescaped quotes within its value; when pickadate.js concatenates the stored id value into an HTML string via jQuery .html() on profile page load, the smuggled onfocus and autofocus attribute syntax breaks out of attribute context and executes as JavaScript.

## Remediation

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