CVE-2021-25095: The IP2Location Country Blocker WordPress plugin before 2.26.5 does not have authorisation and CSRF checks in the ip2location_country_blocker_save_rules AJAX action, allowing any authenticated users,

high Affects country-blocker (WordPress plugin). Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

The IP2Location Country Blocker WordPress plugin before 2.26.5 does not have authorisation and CSRF checks in the ip2location_country_blocker_save_rules AJAX action, allowing any authenticated users,

Package
country-blocker (WordPress plugin) WordPress
Affected versions
<2.26.5
Fixed in
2.26.5
Severity
high  CVSS 7.1
Exploitation
not on CISA KEV · EPSS 1% (45.1th percentile)
Published
2022-02-07
Source
nvd

References

CWE-352CWE-862
NVD recordcountry-blocker (WordPress plugin) advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories