BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2021-36916

CRITICAL 9.8 CVSS 3.1
Published
November 24, 2021
Last modified
June 17, 2026
NVD status
Modified
Reported by
audit@patchstack.com
Weakness
CWE-89
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Affected products and versions

  • wpWave Hide My WP (WordPress plugin) — From <= 6.2.3 (including) to 6.2.3 (including)
  • wpwave hide_my_wp — Up to and including 6.2.3

References

  • codecanyon.net https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158 Product
  • patchstack.com 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
  • patchstack.com https://patchstack.com/hide-my-wp-vulnerabilities-fixed/ Exploit, Third Party Advisory
  • nvd.nist.gov Official NVD record