Unauthenticated Attackers Can Abuse 'file_get_contents' Function in WordPress Picture/Portfolio/Media Gallery Plugin

Patch this weekSensitive data exposure over the network, no login needed.
9.3CRITICAL

Key Information:

Vendor

WordPress

CVE ID
CVE ID:
CVE-2024-5021
Vendor
CVE Published:
19 June 2024

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach WordPress Picture / Portfolio / Media Gallery. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.3).

What is CVE-2024-5021?

The Nimble Portfolio plugin for WordPress is susceptible to a Server-Side Request Forgery vulnerability in all versions up to and including 3.0.1. This issue arises from how the plugin utilizes the 'file_get_contents' function, allowing unauthenticated attackers to craft malicious web requests to arbitrary locations. The exploitation of this flaw can lead to unauthorized querying and modification of information from internal services, posing serious risks to the security and integrity of affected web applications.

Affected Version(s)

WordPress Picture / Portfolio / Media Gallery 0 <= 3.0.1

References

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate Member😄9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration Aide👾9.8CRITICAL

Remote Code Execution in WP Duplicate Plugin

CVE-2026-14492
WordPressWP Duplicate – WordPre...9.8CRITICAL
View more WordPress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
Low
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Credit

Francesco Carlucci
.