Stored XSS in IP2Location Country Blocker Plugin by WordPress
CVE-2022-50961

5.1MEDIUM

Key Information:

Vendor

WordPress

Vendor
CVE Published:
10 May 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2022-50961?

The IP2Location Country Blocker plugin for WordPress version 2.26.7 is susceptible to a stored cross-site scripting vulnerability. This flaw allows authenticated users to inject arbitrary JavaScript code via the Frontend Settings interface. Specifically, attackers can exploit the URL field in the Display page settings, enabling them to execute malicious scripts when administrators or other authenticated users access the plugin settings page. This vulnerability poses a significant risk as it can enable attackers to manipulate the behavior of the website and compromise the security of user data.

Affected Version(s)

IP2Location Country Blocker 2.26.7

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Ahmet Serkan Ari
.