What the vulnerability does
01Description
The SQL injection vulnerability in the Hide My WP WordPress plugin (versions <= 6.2.3) is possible because of how the IP address is retrieved and used inside a SQL query. The function "hmwp_get_user_ip" tries to retrieve the IP address from multiple headers, including IP address headers that the user can spoof, such as "X-Forwarded-For." As a result, the malicious payload supplied in one of these IP address headers will be directly inserted into the SQL query, making SQL injection possible.
Explanation of Vulnerability in Simple Terms
02Summary
Hide My WP versions up to 6.2.3 contain a SQL injection vulnerability in an unauthenticated endpoint. An attacker can craft malicious input to extract sensitive data from the WordPress database, including user credentials and configuration details. No user interaction or authentication is required to exploit this flaw.
What an attacker can do
03Attacker Capabilities
Extract sensitive data from the WordPress database, including user credentials and site configuration.
Potential impact on your site
04Site Impact
Attackers can read your WordPress database without logging in, exposing user passwords, email addresses, and private content.
Conditions required to exploit
05Prerequisites
Network access to the site; no authentication or user interaction required.
Key dates
06Disclosure timeline
November 24, 2021
CVE published
April 28, 2026
Record updated