CVE-2025-24731 WordPress IP2Location Country Blocker plugin <= 2.38.3 - Cross Site Scripting (XSS) vulnerability
Stored XSS in IP2Location Country Blocker allows attackers to inject scripts, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-24731?
CVE-2025-24731 is a medium-severity cross-site scripting vulnerability in Download IP2Location Country Blocker, published on 24 Jan 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in IP2Location Download IP2Location Country Blocker ip2location-country-blocker allows Stored XSS.This issue affects Download IP2Location Country Blocker: from n/a through <= 2.38.3.
Weakness: CWE-79
Which versions are affected by CVE-2025-24731?
It affects 1 product.
Products include Ip2location Country Blocker.
How do I fix CVE-2025-24731?
No fix has been published for CVE-2025-24731 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-24731 being exploited?
There is no known exploitation of CVE-2025-24731 in the wild and no public exploit code.
Other vulnerabilities in Download IP2Location Country Blocker
- CVE-2025-1361 Missing authorization in IP2Location Country Blocker
- CVE-2021-25095 IP2Location Country Blocker < 2.26.5 - Subscriber+ Arbitrary Country Ban
- CVE-2021-25108 IP2Location Country Blocker < 2.26.6 - Arbitrary Country Ban via CSRF
- CVE-2021-25096 IP2Location Country Blocker < 2.26.5 - Ban Bypass
- CVE-2023-37865 WordPress IP2Location Country Blocker plugin <= 2.29.1 - IP Bypass Vulnerability vulnerability
Sources
Also known as GHSA-pf3h-gh3r-gj26.