CVE-2021-36916

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

8.6 high EPSS 1.86%

Published 24 Nov 2021 Updated 28 Apr 2026 CNA: Patchstack

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.

Severity (CVSS)

8.6 high CVSS 3.1 from Patchstack (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.86%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 79.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 28 Mar 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

Affected products

As the CNA lists them.

ProductVersions
Hide My WP (WordPress plugin)
affected from <= 6.2.3 up to and including 6.2.3

Is my server affected?

This CVE is in Hide My WP (WordPress plugin) of wpWave, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

Source: the record CVE-2021-36916 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.