CVE-2021-36916

Public Exploit
WordPress Hide My WP premium plugin <= 6.2.3 - Unauthenticated SQL injection (SQLi) vulnerability

Description

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.

Remediation

Solution:

  • Update to 6.2.4 or higher version.

Category

8.6
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.61%
Third-Party Advisory patchstack.com Third-Party Advisory patchstack.com
Affected: wpWave Hide My WP (WordPress plugin)
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-36916?
CVE-2021-36916 has been scored as a high severity vulnerability.
How to fix CVE-2021-36916?
To fix CVE-2021-36916: Update to 6.2.4 or higher version.
Is CVE-2021-36916 being actively exploited in the wild?
It is possible that CVE-2021-36916 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-36916?
CVE-2021-36916 affects wpWave Hide My WP (WordPress plugin).
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.