WordPress Featured Image from URL Plugin SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in the Featured Image from URL (FIFU) plugin for WordPress, affecting all versions through 5.2.7. The vulnerability arises from inadequate escaping of user-supplied parameters and insufficient preparation of SQL queries in the 'get_posts_with_internal_featured_image()' function. This flaw allows authenticated attackers with Administrator-level access to append malicious SQL queries to existing ones, potentially leading to the extraction of sensitive information from the database.

Impact

Exploitation of this vulnerability allows for SQL injection, where attackers can manipulate SQL queries to access or modify database information. In this case, it could be used to extract sensitive data from the database.

Reproduction

To reproduce this vulnerability, an authenticated user with Administrator privileges can use the 'get_posts_with_internal_featured_image()' function. This can be done by sending a request that includes a crafted parameter which takes advantage of the SQL injection flaw. The lack of proper input sanitization allows for the injection of malicious SQL code, which could then be executed by the database.

Remediation

Users are advised to update the Featured Image from URL plugin to version 5.2.8 or later, where this vulnerability has been patched.

Added: Sep 26, 2025, 5:35 AM
Updated: Sep 26, 2025, 5:35 AM

Vulnerability Rating

Custom Algorithm
spread
5.2
impact
2.5
exploitability
6.0
remediation
7.7
relevance
0.6
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.