{"id":"CVE-2021-36916","state":"PUBLISHED","title":"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.","publishedAt":"2021-11-24T16:29:41.073Z","updatedAt":"2026-04-28T16:07:37.908Z","severity":{"score":8.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","source":"Patchstack"},"assigner":"Patchstack","products":["wpWave Hide My WP (WordPress plugin)"],"affected":[{"vendor":"wpWave","product":"Hide My WP (WordPress plugin)","versions":[{"version":"<= 6.2.3","status":"affected","lessThanOrEqual":"6.2.3","versionType":"custom"}]}],"references":["https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158","https://patchstack.com/hide-my-wp-vulnerabilities-fixed/","https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T19:48:44.655Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/36xxx/CVE-2021-36916.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-36916","state":"PUBLISHED","datePublished":"2021-11-24T16:29:41.073Z","dateUpdated":"2026-04-28T16:07:37.908Z","assignerShortName":"Patchstack","assignerOrgId":"21595511-bba5-4825-b968-b78d1f9984a3","dateReserved":"2021-07-19T00:00:00.000Z"},"containers":{"cna":{"title":"WordPress Hide My WP premium plugin <= 6.2.3 - Unauthenticated SQL injection (SQLi) vulnerability","descriptions":[{"lang":"en","value":"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":[{"vendor":"wpWave","product":"Hide My WP (WordPress plugin)","versions":[{"version":"<= 6.2.3","status":"affected","lessThanOrEqual":"6.2.3","versionType":"custom"}]}],"references":[{"url":"https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158","tags":["x_refsource_CONFIRM"]},{"url":"https://patchstack.com/hide-my-wp-vulnerabilities-fixed/","tags":["x_refsource_MISC"]},{"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","description":"CWE-89 SQL Injection","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Patchstack","orgId":"21595511-bba5-4825-b968-b78d1f9984a3","dateUpdated":"2026-04-28T16:07:37.908Z"},"credits":[{"lang":"en","value":"Vulnerability discovered by Dave Jong (Patchstack)."}],"datePublic":"2021-11-24T00:00:00.000Z","solutions":[{"lang":"en","value":"Update to 6.2.4 or higher version."}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"audit@patchstack.com","DATE_PUBLIC":"2021-11-24T13:53:00.000Z","ID":"CVE-2021-36916","STATE":"PUBLIC","TITLE":"WordPress Hide My WP premium plugin <= 6.2.3 - Unauthenticated SQL injection (SQLi) vulnerability"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Hide My WP (WordPress plugin)","version":{"version_data":[{"version_affected":"<=","version_name":"<= 6.2.3","version_value":"6.2.3"}]}}]},"vendor_name":"wpWave"}]}},"credit":[{"lang":"eng","value":"Vulnerability discovered by Dave Jong (Patchstack)."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-89 SQL Injection"}]}]},"references":{"reference_data":[{"name":"https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158","refsource":"CONFIRM","url":"https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158"},{"name":"https://patchstack.com/hide-my-wp-vulnerabilities-fixed/","refsource":"MISC","url":"https://patchstack.com/hide-my-wp-vulnerabilities-fixed/"},{"name":"https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability","refsource":"MISC","url":"https://patchstack.com/database/vulnerability/hide-my-wp/wordpress-hide-my-wp-premium-plugin-6-2-3-sql-injection-sqli-vulnerability"}]},"solution":[{"lang":"en","value":"Update to 6.2.4 or higher version."}],"source":{"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://patchstack.com/hide-my-wp-vulnerabilities-fixed/","tags":["x_refsource_MISC","x_transferred"]},{"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"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T01:01:59.552Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-28T16:45:53.691658Z","id":"CVE-2021-36916","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-28T16:45:57.640Z"}}]}}}