Profile Extra Fields by BestWebSoft <= 1.3.7 - Unauthenticated Reflected Cross-Site Scripting via Registration Form Extra Field Values

Medium 6.1 CWE-79Fixed in 1.3.8
ID
WPSEC-2026-4316
Plugin
Profile Extra Fields by BestWebSoft (profile-extra-fields)
Affected
from 1.2.4 before 1.3.8
Remediation
Update to 1.3.8 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-01
Attack surface
Profile Extra Fields by BestWebSoft on WPSec AttackSurface
Fix released
Published

Description

The Profile Extra Fields by BestWebSoft plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'prflxtrflds_user_field_value' parameter of the extra fields shown on the user registration form in versions 1.2.4 up to, and including, 1.3.7. This is due to insufficient output escaping in the prflxtrflds_get_field_html() function. The submitted value is only passed through sanitize_text_field(), which does not encode double quotes, and is then echoed back unescaped into the value attribute of the input when the registration form is shown again. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute if they can trick a user into submitting a crafted request, for example by visiting a page that auto-submits a form. Exploitation requires user registration to be enabled and at least one extra field to be configured to show on the registration form.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0