ManageGPLNEWManage every WordPress site from one dashboard · update them all in one clickEvery site, one dashboardFree for 5 sitesNo card needed
Start free
ManageGPLNew
One dashboard for every WordPress site — update everything in one clickUpdate every WordPress site in one clickPremium plugins included
Authenticated (Subscriber and above) stored cross-site scripting through the profile background field (custom_profile_bg). CVE-2026-131644 / Wordfence report #487032, discovered by Duc Manh. Affects versions up to and including 5.1.17. The profile-background value was printed unescaped inside the url() of a <style> block, so a subscriber could store JavaScript that ran when anyone, including an administrator, viewed their profile. The reported path was fixed in 5.1.18; this release also fixes the professional profile layout (the "modern" layout, up_modern_layout=4), which read profile values straight from user meta and printed the cover image, the display name and every profile field and link without escaping. All of those now escape their output.
CSS-context hardening of the profile background. esc_url() removes the characters that would break out of the <style> block into HTML but leaves ")" and ";", which still break out of url(...) into the stylesheet. Background URLs are now quoted and percent-encoded, and the profile-background field is accepted only when it is a raster-image URL, so a stored value that is not an image is dropped rather than written into the page.
A wrong password reset key reported the wrong thing. The check asked whether any account on the site had a reset key pending rather than whether the submitted key matched, so an incorrect key produced a confusing failure instead of "the secret key is invalid or expired". No password could be changed either way.
PHP 8 fatal error in the bundled Campaign Monitor library. services_json.php used the curly brace string offset syntax removed in PHP 8.0 in 38 places, so saving a registration or profile with a newsletter field ticked crashed on any PHP 8 site with Campaign Monitor configured. Converted to square bracket offsets.
PHP fatal error in the Mailster subscriber check. mailchimp_is_subscriber() required a file through a MAILSTER_DIR_USERPRO constant that this plugin never defines, so the call crashed whenever Mailster integration was on, no MailChimp key was set and a newsletter field rendered. The require and the unused subscriber object have been removed; the query below them does the work.
Security
Server-side request forgery and local file disclosure through social login. The profile picture address supplied by a sign-in request was fetched with the filesystem functions, which accept a local path and the file:// wrapper, so an unauthenticated sign-in could make the site read a file it had access to, or reach a host on its own network, and republish the result as the new account's profile picture. The address must now be one WordPress is willing to fetch, it is fetched over HTTP, the response has to be a real image, and the saved name stays inside that member's own folder.
Path traversal in the picture cropper. The cropper turned a supplied address back into a file path by text replacement, so an address pointing out of the uploads folder resolved anywhere on disk and any image the site could open was cropped and republished. The address must now sit inside this site's uploads or theme folder with no traversal, and the resolved path is checked again before the file is read.
Uploads could be aimed at another member's folder. The upload handler took the destination account from the request, so a visitor could place files in any member's upload folder. A visitor registering now uploads to the staging folder and a signed-in member to their own, unless they may edit the account they name. The size limit is also applied before the file is written rather than after.
Cross-site scripting through social login profile values. The Facebook and Google sign-in handlers wrote the name, gender, profile link and display name from the sign-in request into the profile without sanitising them, which went round the protection added to the registration and profile forms in this release. Each value is now sanitised by the field it is written to.
Sign-in through LinkedIn and Instagram could be forged. Both callbacks accepted any authorization code handed to them, with no state to tie the response to a sign-in the visitor had actually started, so a visitor could be dropped into an account chosen by someone else. Both now carry a single-use state and verify it, as the Google callback already does.
Open redirect after login and registration. The address to continue to was taken from the submission and only checked for its protocol, so it could send a member to any site. It is now held to WordPress's own allowed-host rule, which still permits every address on this site; a site that deliberately sends members elsewhere can allow that with the userpro_allow_external_redirect filter.
The default "panic key" was the same on every installation. That key lets a visitor past the setting that hides the WordPress login page, and it shipped with a fixed value, so the setting stopped being worth anything to anyone who had read the plugin. It is empty by default now, which leaves the feature switched off until a site chooses its own key. Sites already using the shipped value should set their own.
Unpublished posts were listed to anyone. The member post listing included posts awaiting review and could be called for any author without logging in. Only the author, or someone who may edit other people's posts, sees those now.
Two administration actions were reachable by visitors. The email template preview and the dismissal of the plugin's own review notice were both registered for logged-out callers; both now require the administrator capability, and the preview takes a template name rather than a path.
The member contact action in the Google Map add-on had no checks at all: no nonce, no signed-in requirement, and both member ids taken from the request. It now requires a signed-in sender, a valid nonce and whole-number ids.
Stored cross site scripting through profile values printed into HTML attributes. A second pass over the same class of bug as CVE-2026-93397, found by attacking the patched build rather than by reading it. Tag stripping alone was not enough: a stored quote character closed an attribute and added an event handler, with no tag needed. Forty-two attribute sinks across fifteen files are now escaped, among them the profile edit form, where every field's current value was printed into value="" unescaped; the social and website icon links; the auto-linked URL, email, picture and country field markup; the lightbox caption and photo URL, which carried the member's display name; the custom profile background, in both a style attribute and the generated stylesheet; the member directory's connect button, where the display name sat inside a JavaScript string inside an onclick attribute; and every data-up_username attribute, which carries the display name on sites whose profile links use names.
Unauthenticated stored cross site scripting through social login. The Facebook and Google profile updaters wrote the first name, last name, gender, profile link, display name and email from the sign-in request straight into user meta without sanitising anything, bypassing the registration and profile form entirely, and the display name is printed on every member listing. Each value is now sanitised by the field it is written to.
Missing authorisation on the connection request endpoint. It was reachable without being logged in and took the recipient from the request, so a visitor could write into any account's pending request list and make the site email that member, repeatedly. It now requires a logged-in sender and a real recipient other than the sender.
Missing authorisation on the connection endpoints. Accepting a connection request wrote into the target user's meta without checking that the target had ever sent a request, so any logged in user could force a connection to any account. On sites that gate profile fields behind connections this exposed private profile data. Accepting now requires a matching pending request, all three endpoints require a logged in caller, and the user id is cast to a whole number and confirmed to exist.
Activity feed disclosure. The refresh and load activity endpoints took the feed owner's user id from the request, so anyone, including visitors who were not logged in, could read another member's private following feed by passing their id. The private feed is only ever rendered for the viewer's own account, so the owner is now always the current user.
Login CSRF in Google sign in. The callback accepted any authorization code delivered to it, because the OAuth state was generated, sent to Google and then discarded: it was only written to the session inside a branch the callback never reaches. An attacker could therefore cause a visitor's browser to complete a Google sign in the visitor never started, landing them in an account the attacker controls.
Exported user list was readable by anyone who guessed the file name. The CSV of every exported user, email addresses included, was written into the uploads folder as a Unix timestamp plus ".csv", which is trivially guessable, and is served with no access control. The name is now 32 random hex characters.
Hardening: folders the plugin creates inside uploads are no longer created world-writable (0777). The downloads folder, the plugin's upload base folder and per-user upload folders now use WordPress's configured directory permissions, 0755 by default.
SQL injection in the admin user export. The row limit was interpolated into the query string before $wpdb->prepare() ran, which prepare() cannot sanitise. It is now a %d placeholder and the value is cast to a whole number.
Reflected cross site scripting on the badges admin screen. The bid query parameter was echoed into an input value unescaped. It is now cast to a whole number and escaped.
ReCAPTCHA v2 field showed only its label on the registration, login and edit forms, with no "I'm not a robot" widget. Three separate causes, all fixed: (1) admin/admin-functions.php printed the site key twice for the same field on the Groups & Fields screen, once as a text input and again as a hidden input holding the previously saved value. The hidden copy came later in the form, so saving the group always overwrote the key the administrator had just typed with the old (usually empty) one. The key could never be saved from that screen.
(2) functions/fields-functions.php printed the site key into an unquoted HTML attribute (data-sitekey=VALUE). An empty key, or a key pasted with a leading or trailing space, produced invalid markup and Google rendered nothing. The value is now quoted and escaped, whitespace is trimmed, and when no key is stored an explanatory notice is shown to administrators only, in place of the blank space.
(3) the widget relied on Google's automatic rendering with a copy of api.js printed per field. It is now loaded once per page in explicit-render mode, so the widget also appears on forms loaded by ajax and on pages where another plugin has already loaded api.js. Containers another plugin has already rendered into are left alone.
The "Please confirm the Captcha." error was never displayed unless the reCAPTCHA field happened to use the meta key "recaptcha". The error is now keyed on the field's own meta key, and the field carries an element for the message to attach to, so submitting the form without ticking the box now shows the error next to the widget instead of failing silently.
A newly created reCAPTCHA field now shows its Site Key box immediately, instead of only after the Fields screen is reloaded.
Fixed in two layers: (1) functions/ajax.php now applies sanitize_key() to every POST key when building the form array, stripping all non-ASCII bytes before they reach update_user_meta().
(2) functions/user-functions.php now rejects any meta key containing non-ASCII bytes outright and uses sanitize_key() rather than remove_accents() for the capabilities/user_level denylist, as defense-in-depth for any caller that does not go through ajax.php.
Security
Security fix: Privilege escalation (CVSS 9.8, unauthenticated). A guest registration could overwrite the new account's wp_capabilities row by posting a field name containing a Unicode homoglyph in place of an ASCII letter (e.g. U+0209 replacing 'i' in wp_capabilities). MySQL's accent-insensitive meta_key collation matched the mutated key to the real wp_capabilities row, and the previous remove_accents() denylist did not cover all characters in that equivalence class.
Other
Reported by YC_Infosec via Patchstack, 2026-10-06.
PHP warning "Attempt to read property 'post_name' on null" on archive pages, 404s, and non-single-post contexts; guarded access in get_post() in the userpro_title_tag filter.
Performance fix: Enhanced Member Directory and collage now count matches with a single COUNT query instead of fetching every matching user to count() them (same fix already applied to the core member directory).
Performance fix: userpro_badges_admin_users() is now capped at 500 rows via the userpro_badges_admin_users_limit filter (previously fetched every account on the site). Full user objects are kept so the badge user dropdowns still show email addresses and load in a handful of queries.
Hardening: user_id in the display-badges and post-sort AJAX actions is cast with absint().
Fixed
Performance fix: member directory custom-field sort now sorts and paginates in the database query (meta_key + orderby=meta_value). Previously every matching user was fetched, sorted in PHP, then sliced, and the pagination total was miscalculated (page links ran to hundreds of empty pages).
Stability fix: member directory now survives malformed page/search input. ?userp=abc, ?userp[]=1 and ?searchuser[]=x previously caused a PHP 8 fatal (500); ?userp=-1 produced a negative SQL LIMIT. Page numbers are now cast with absint() and a non-string search is ignored. Same absint() guard applied to the Enhanced Member Directory / collage emd-page parameter.
The profile picture/file crop AJAX now receives the security nonce from the front-end script, so uploads keep working with the new nonce check.
The legacy userpro_sc_follow / userpro_sc_unfollow AJAX actions called a non-existent method and fataled on every request; they now use the same follow API as the current handler (and still force the follower to the logged-in user).
UserPro admin screen now shows the correct version number (was stuck at 5.1.11).
Restored bundled cacert.pem files (Campaign Monitor, Twitter libs) and corrected the package folder name to "userpro" so uploads replace the existing plugin instead of installing a second copy.
Security
SQL injection in the front-end post publish flow. The lookup query in the 'publish' AJAX action concatenated post_content (which passes through wp_kses without escaping quotes) into raw SQL; now uses $wpdb->prepare(). Reachable by any logged-in user.
Privilege/trust meta can no longer be set through a self-service profile save. A denylist (filter: userpro_protected_profile_meta) blocks userpro_verified, account status, connection lists, secret key, badge and social-id meta from the profile-edit POST for non-admins. Previously any logged-in user could set userpro_verified=1 on their own account.
The role-change guard in userpro_update_user_profile() used is_admin(), which is always true during admin-ajax, so it never fired. Role changes via profile save now require the promote_users capability.
Userpro_crop_picupload AJAX action now requires a valid nonce (previously none) and escapes the file link it returns (reflected XSS via the src parameter).
SQL injection in the badges comment-count query (count_user_comments) now uses $wpdb->prepare() with an integer cast.
Social follow/unfollow AJAX now requires login and always uses the current user as the follower (previously the follower id was taken from the request, letting anyone forge follow relationships between any users).
Userpro_reset_option and userpro_user_invite AJAX actions now require the manage_options capability. Both were registered for logged-out users and gated by the public nonce only, so any visitor could reset all plugin settings or send invitation emails to arbitrary addresses.
The protected-profile-meta check is now case-insensitive, so variants like Userpro_Verified can no longer slip a value into the real (case-insensitively matched) meta row.
Removed
Removed dead get_pending_verify_requests_count() function from admin/admin.php (zero callers; duplicate of the patched function in the requests addon).