# CVE-2021-25108: IP2Location Country Blocker < 2.26.6 - Arbitrary Country Ban via CSRF

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-07T15:47:24.000Z
- Modified: 2026-06-17T03:41:28.500Z
- Weaknesses: CWE-352
- Assigned by: WPScan

## Description

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.

(As written by CVE List.)

## Affected

- Unknown IP2Location Country Blocker: from 2.26.6 before 2.26.6
- ip2location country_blocker: before 2.26.6

## Every score

- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/9d416ca3-bd02-4fcf-b3b8-f2f2280d02d2> (exploit, third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2653459> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-25108](https://www.cve.org/CVERecord?id=CVE-2021-25108), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-25108](https://nvd.nist.gov/vuln/detail/CVE-2021-25108), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25108 · Whole record: https://cve.day/CVE-2021-25108.json · Rebuilt by cve.day 2026-11-25T22:58:06.790Z
