User Profile Picture <= 2.6.1 - Authenticated (Author+) Insecure Direct Object Reference to Profile Picture Update

Authorization Bypass Through User-Controlled Key
CVE CVE-2024-5639
CVSS 4.3 (Medium)
Publicly Published June 20, 2024
Last Updated June 21, 2024
Researcher JoanClarke2


The User Profile Picture plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.6.1 via the 'rest_api_change_profile_image' function due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with Author-level access and above, to update the profile picture of any user.



Vulnerability Details for User Profile Picture

Software Type Plugin
Software Slug metronet-profile-picture (view on
Patched? Yes
Remediation Update to version 2.6.2, or a newer patched version
Affected Version
  • <= 2.6.1
Patched Version
  • 2.6.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.