Download IP2Location Country Blocker <= 2.29.1 - Bypass via IP Spoofing

Use of Less Trusted Source
CVE CVE-2023-37865
CVSS 6.5 (Medium)
Publicly Published July 10, 2023
Last Updated July 13, 2023
Researcher Mika


The Download IP2Location Country Blocker plugin for WordPress is vulnerable to IP Address Spoofing in versions up to, and including, 2.29.1. This is due to insufficient restrictions on where the IP Address information is being retrieved for request logging and access restrictions. Attackers can supply the X-Real-IP or X-Forwarded-For header with a different IP Address that will be logged and can be used to bypass settings that may have blocked out an IP address from accessing a page on the site.



1 affected software package

Software Type Plugin
Software Slug ip2location-country-blocker (view on
Patched? Yes
Remediation Update to version 2.29.2, or a newer patched version
Affected Version
  • <= 2.29.1
Patched Version
  • 2.29.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.