Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-24731: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in IP2Locat

27
Routine
MEDIUM 5.9UPGRADE

CVE-2025-24731 is a medium-severity flaw (CVSS 5.9) affecting country blocker. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score5.9 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededHigh
User interactionRequired
EPSS exploit chance0.3% (top 76%)
CISA exploited listNo
WeaknessCWE-79
Published2025-01-24
Last modified2026-06-17
Publisher (CNA): Patchstack · Vendor: ip2location

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ip2location country blocker UPGRADE
Affected: < 2.38.4
Fixed in: 2.38.4
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy country-blocker || rpm -q country-blocker || country-blocker --version
2. UPGRADE to 2.38.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade country-blocker
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade country-blocker
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-24731?

country blocker: upgrade to 2.38.4. Exact commands for each OS are on this page.

Is CVE-2025-24731 being exploited?

CVE-2025-24731 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-24731 affect?

CVE-2025-24731 affects country blocker. Severity is medium (CVSS 5.9). 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 Cou

How urgent is CVE-2025-24731?

Priority 27/100. No elevated risk signals yet.

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.