# CVE-2021-36916: WordPress Hide My WP premium plugin <= 6.2.3 - Unauthenticated SQL injection (SQLi) vulnerability

- Severity: High 8.6 (CVSS:3.1, scored by Patchstack) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.86%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-24T16:29:41.073Z
- Modified: 2026-06-17T03:59:37.640Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- wpWave Hide My WP (WordPress plugin): from <= 6.2.3 up to 6.2.3
- wpwave hide_my_wp: up to 6.2.3

## Every score

- Patchstack: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://patchstack.com/hide-my-wp-vulnerabilities-fixed/> (exploit, third-party-advisory)
- <https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158> (product)
- <https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-36916](https://www.cve.org/CVERecord?id=CVE-2021-36916), CVE Terms of Use, modified 2026-04-28
- NVD: [CVE-2021-36916](https://nvd.nist.gov/vuln/detail/CVE-2021-36916), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-36916 · Whole record: https://cve.day/CVE-2021-36916.json · Rebuilt by cve.day 2026-11-25T22:58:05.756Z
