{"id":"CVE-2021-36916","aliases":["EUVD-2021-23492","GHSA-53q2-99ph-73wh"],"status":"published","title":"WordPress Hide My WP premium plugin \u003c= 6.2.3 - Unauthenticated SQL injection (SQLi) vulnerability","description":"The SQL injection vulnerability in the Hide My WP WordPress plugin (versions \u003c= 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":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01861,"percentile":0.79552,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2021-11-24T16:29:41Z","modified":"2026-06-17T03:59:37Z","products":[{"vendor":"wpwave","product":"hide my wp (wordpress plugin)"},{"vendor":"wpwave","product":"hide_my_wp"}],"references":[{"url":"https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158","tags":["x_refsource_CONFIRM","x_transferred","Product"]},{"url":"https://patchstack.com/hide-my-wp-vulnerabilities-fixed/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36916"},{"url":"https://github.com/advisories/GHSA-53q2-99ph-73wh"}],"sources":{"cve":[{"id":"CVE-2021-36916","title":"WordPress Hide My WP premium plugin \u003c= 6.2.3 - Unauthenticated SQL injection (SQLi) vulnerability","description":"The SQL injection vulnerability in the Hide My WP WordPress plugin (versions \u003c= 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.","status":"published","published":"2021-11-24T16:29:41.073Z","modified":"2026-04-28T16:07:37.908Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:33:05.989686Z"}],"euvd":[{"id":"EUVD-2021-23492","description":"The SQL injection vulnerability in the Hide My WP WordPress plugin (versions \u003c= 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.","status":"published","published":"2021-11-24T16:29:41Z","modified":"2026-04-28T16:07:37Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","level":"high"}],"updated_at":"2026-11-02T19:24:16.393887Z"}],"ghsa":[{"id":"GHSA-53q2-99ph-73wh","title":"The SQL injection vulnerability in the Hide My WP WordPress plugin (versions \u003c= 6.2.3) is...","description":"The SQL injection vulnerability in the Hide My WP WordPress plugin (versions \u003c= 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.","status":"published","published":"2021-11-25T00:00:36Z","modified":"2023-02-01T05:06:37Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:50:22.895109Z"}],"nvd":[{"id":"CVE-2021-36916","description":"The SQL injection vulnerability in the Hide My WP WordPress plugin (versions \u003c= 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.","status":"published","published":"2021-11-24T17:15:07.857Z","modified":"2026-06-17T03:59:37.64Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:07:01.428028Z"}]}}
