CVE-2022-50961: WordPress Plugin IP2Location Country Blocker 2.26.7 Stored XSS
WordPress Plugin IP2Location Country Blocker 2.26.7 contains a stored cross-site scripting vulnerability that allows authenticated users to inject arbitrary JavaScript code through the Frontend Settings interface. Attackers can inject malicious scripts in the URL field of the Display page settings that execute when administrators or other authenticated users visit the plugin settings page.
Security readout for executives and security teams
Plain-English summary
This CVE affects the WordPress IP2Location Country Blocker plugin version 2.26.7. An authenticated user can store JavaScript in a plugin settings URL field, causing code to run when administrators or other authenticated users open the settings page.
Executive priority
Treat as a medium-priority WordPress admin-surface issue. It is not shown as actively exploited, but public exploit information and authenticated stored XSS make prompt inventory and remediation appropriate.
Technical view
The issue is stored cross-site scripting in the Frontend Settings Display page URL field. CVSS 3.1 is 6.4 with low attack complexity and low privileges required. Scope is changed, with limited confidentiality and integrity impact and no availability impact reported.
Likely exposure
Exposure is limited to WordPress sites running IP2Location Country Blocker 2.26.7, especially where multiple authenticated users can access plugin settings or related administrative interfaces.
Exploitation context
The source bundle includes an ExploitDB reference, indicating public exploit information exists. The CVE is not listed as KEV, and the provided sources do not show active exploitation in the wild.
Researcher notes
Evidence identifies version 2.26.7 only. The provided bundle does not name a fixed version or vendor workaround, so remediation should be validated against current vendor guidance before deployment decisions.
Mitigation direction
Identify WordPress sites using IP2Location Country Blocker 2.26.7.
Check the vendor plugin page and advisory sources for fixed-version guidance.
Restrict plugin settings access to trusted administrators only.
Review plugin settings for unexpected JavaScript or suspicious URL values.
Remove or disable the plugin if no vendor remediation is available and risk is unacceptable.
Validation and detection
Inventory installed WordPress plugins and confirm the IP2Location Country Blocker version.
Inspect the Frontend Settings Display page URL field for unexpected script content.
Review administrative user accounts with access to plugin settings.
Check WordPress logs for suspicious authenticated settings changes.
Confirm remediation by verifying the vulnerable version is removed, disabled, or updated.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.