{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4316",
 "modified": "2026-12-01T13:51:53Z",
 "published": "2026-12-01T13:51:53Z",
 "summary": "Profile Extra Fields by BestWebSoft <= 1.3.7 - Unauthenticated Reflected Cross-Site Scripting via Registration Form Extra Field Values",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "profile-extra-fields"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "1.2.4"
      },
      {
       "fixed": "1.3.8"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 1.2.4 before 1.3.8"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4316/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/profile-extra-fields/tags/1.3.8/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/profile-extra-fields/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4316/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
