CVE-2025-2314

User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor <= 3.13.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Published Apr 16, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcodes in all versions up to, and including, 3.13.5 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
The issue was partially patched in version 3.13.6 of the plugin, and fully patched in 3.13.7.

Analysis

AI-generated

Technical impact

The vulnerability in the User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor plugin allows authenticated users with contributor level access to inject arbitrary scripts via shortcodes. Because input sanitization and output escaping are insufficient, the malicious code is stored and executed whenever any user views a page containing the compromised shortcode, potentially enabling session hijacking, defacement, or malicious code execution in the user's browser context.

Affected Systems

All installations of the WordPress User Profile Builder plugin by CozmosLabs up to and including version 3.13.5 are affected. Hackers must possess at least contributor privileges to inject the payload, but once injected the script runs for all visitors to the affected page.

Risk and Exploitability

The CVSS score of 6.4 classifies the flaw as moderate severity. The EPSS score of less than 1% indicates a very low probability of exploitation currently, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires authenticated access and requires the attacker to place a malicious attribute in a shortcode; the stored nature means the exploit persists until the offending data is removed or the plugin is upgraded.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the plugin to version 3.13.7 or later, which fully patches the stored XSS flaw.
  • If an upgrade is not immediately possible, restrict contributor and lower privilege roles from creating or editing shortcodes, or disable the shortcode feature entirely for those roles.
  • Apply server‑side input validation and output escaping to any user‑supplied attributes submitted to the shortcode, ensuring only safe characters are permitted and all output is properly encoded.

Generated by OpenCVE AI on April 21, 2026 at 21:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-11465 The User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcodes in all versions up to, and including, 3.13.5 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The issue was partially patched in version 3.13.6 of the plugin, and fully patched in 3.13.7.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcodes in all versions up to, and including, 3.13.5 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The issue was partially patched in version 3.13.6 of the plugin, and fully patched in 3.13.7.
Title User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor <= 3.13.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:11 PM
Reserved
Mar 14, 2025, 2:58 PM
Status
Deferred
Published
Apr 16, 2025, 3:15 AM
Modified
Jun 17, 2026, 9:06 AM