CVE-2026-18547
JSON

6.4medium

Ultimate Member <= 2.12.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Textarea Profile Field with HTML Support (DOM Gadget via id Attribute)

Severity
6.4medium CVSS:3.1 by Wordfence
Exploit likelihood
0.36% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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

Product or packageVersionsReported by
ultimatemember Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Pluginup to 2.12.1CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El plugin Ultimate Member - User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin para WordPress es vulnerable a cross-site scripting almacenado a través del campo de perfil de área de texto con soporte HTML (Gadget DOM a través del atributo id) en todas las versiones hasta, e incluyendo, 2.12.1 debido a una sanitización de entrada insuficiente y un escape de salida. Esto hace posible que atacantes autenticados, con acceso de nivel de suscriptor y superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada. Esto es posible porque la lista de permitidos 'templates' de wp_kses permite el atributo id en elementos div pero no neutraliza las comillas sin escapar dentro de su valor; cuando pickadate.js concatena el valor id almacenado en una cadena HTML a través de jQuery .html() en la carga de la página de perfil, la sintaxis de atributo onfocus y autofocus contrabandeada sale del contexto del atributo y se ejecuta como JavaScript.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/a7961bcc-eae7-40e1-8838-9755c7655500?source=cve
https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.12.1/includes/core/class-form.php#L853
https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.12.1/includes/class-functions.php#L580
https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.12.1/assets/js/common.js#L51
https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.11.4/includes/core/class-form.php#L853
https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.11.4/includes/class-functions.php#L580
https://plugins.trac.wordpress.org/browser/ultimate-member/tags/2.11.4/assets/js/common.js#L51
https://plugins.trac.wordpress.org/changeset?reponame=&old=3663931%40ultimate-member&new=3663931%40ultimate-member

Sources

SourceRecordLicence
CVE ListCVE-2026-18547 changed 2026-08-25CVE Terms of Use
NVDCVE-2026-18547 changed 2026-09-28Public domain