CVE-2024-5639: Cozmoslabs User Profile Picture

Medium severity, CVSS 4.3. EPSS: 0.4% chance of exploitation in the next 30 days.

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.

Affected products

  • Cozmoslabs User Profile Picture: before 2.6.2 (fixed in 2.6.2)

Published 2024-06-21. Last modified 2026-06-17.