CVE-2021-25108Ip2location Country Blocker
High 7.1 No auth needed
Follow: this CVE · Ip2location · Ip2location Country Blocker We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 7.1
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 42
- Auth required
- No
- Published
- Feb 7, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
What happens
The IP2Location Country Blocker WordPress plugin before 2.26.6 does not have CSRF check in the ip2location_country_blocker_save_rules AJAX action, allowing attackers to make a logged in admin block arbitrary country, or block all of them at once, preventing users from accessing the frontend.
What to do
- Apply the vendor's security update for Country Blocker.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ip2location | country_blocker | < 2.26.6 |
Official sources
References
Links published by the sources. Open them with care.
- plugins.trac.wordpress.org Patch Third Party Advisory
- wpscan.com Exploit Third Party Advisory