CVE-2026-18547
Description
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.
Affected WordPress components
-
Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin Plugin · ultimate-memberUp to and including 2.12.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- ultimatemember Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin — Up to and including 2.12.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.11.4/assets/js/common.js#L51
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.11.4/includes/class-functions.php#L580
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.11.4/includes/core/class-form.php#L853
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.12.1/assets/js/common.js#L51
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.12.1/includes/class-functions.php#L580
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.12.1/includes/core/class-form.php#L853
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?reponame=&old=3663931%40ultimate-member&new=3663931%40ultimate-member
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/a7961bcc-eae7-40e1-8838-9755c7655500?source=cve
- nvd.nist.gov Official NVD record