IP2Location Country Blocker <= 2.26.5 - Arbitrary Country Ban via Cross-Site Request Forgery

Cross-Site Request Forgery (CSRF)
CVE CVE-2021-25108
CVSS High (7.1)
Publicly Published January 6, 2022
Last Updated January 22, 2024
Researcher Krzysztof Zając
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.

References

1 affected software package

Software Type Plugin
Software Slug ip2location-country-blocker (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.26.5
Patched Version
  • 2.26.6
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.