Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-12474: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in geodatasource GeoDataSource Country Region DropDown

0
Medium
VulnerabilityCVE-2024-12474cvecve-2024-12474cwe-79
Published: Sat Dec 14 2024 (12/14/2024, 05:34:15 UTC)
Source: CVE Database V5
Vendor/Project: geodatasource
Product: GeoDataSource Country Region DropDown

Description

CVE-2024-12474 is a stored cross-site scripting (XSS) vulnerability in the GeoDataSource Country Region DropDown WordPress plugin, affecting all versions up to 1. 0. 1. The flaw arises from improper input sanitization and output escaping of user-supplied attributes in the 'gds-country-dropdown' shortcode. Authenticated users with contributor-level access or higher can inject malicious scripts that execute whenever any user views the affected page. This vulnerability does not require user interaction to trigger but does require authentication with limited privileges. The CVSS score is 6. 4 (medium severity), reflecting the potential for confidentiality and integrity impact without availability loss. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent script injection and subsequent attacks such as session hijacking or privilege escalation.

AI-Powered Analysis

AILast updated: 02/26/2026, 04:16:15 UTC

Technical Analysis

The GeoDataSource Country Region DropDown plugin for WordPress suffers from a stored cross-site scripting vulnerability identified as CVE-2024-12474. This vulnerability is caused by improper neutralization of input during web page generation (CWE-79), specifically due to insufficient sanitization and escaping of user-supplied attributes in the plugin's 'gds-country-dropdown' shortcode. Authenticated users with contributor-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into pages or posts using the shortcode. Because the injected scripts are stored persistently, they execute automatically whenever any user accesses the compromised page, potentially leading to session hijacking, defacement, or further exploitation within the WordPress environment. The vulnerability affects all versions up to and including 1.0.1 of the plugin. The CVSS 3.1 base score is 6.4, indicating a medium severity level, with an attack vector of network, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No official patches have been published at the time of disclosure, and no known exploits have been observed in the wild. The vulnerability highlights the importance of rigorous input validation and output encoding in WordPress plugins, especially those that accept user input for shortcode attributes.

Potential Impact

The primary impact of CVE-2024-12474 is the potential compromise of confidentiality and integrity within WordPress sites using the vulnerable GeoDataSource plugin. An attacker with contributor-level access can inject malicious JavaScript that executes in the context of any user visiting the affected page, including administrators. This can lead to session hijacking, unauthorized actions performed on behalf of users, theft of sensitive information such as cookies or credentials, and possible defacement or redirection to malicious sites. While availability is not directly affected, the resulting compromise can lead to broader security incidents, including privilege escalation and persistent backdoors. Organizations relying on this plugin, particularly those with multiple contributors or public-facing content management, face increased risk of targeted attacks and reputational damage. The medium severity score reflects the need for timely remediation to prevent exploitation, especially in environments with multiple authenticated users.

Mitigation Recommendations

To mitigate CVE-2024-12474, organizations should first check for and apply any official patches or updates from the GeoDataSource plugin vendor once available. In the absence of patches, administrators should consider temporarily disabling the plugin or removing the 'gds-country-dropdown' shortcode usage from all content. Restrict contributor-level access and above to trusted users only, minimizing the risk of malicious script injection. Implement Web Application Firewall (WAF) rules to detect and block suspicious script injection attempts targeting the shortcode attributes. Conduct a thorough audit of existing content for injected scripts and remove any malicious code. Additionally, enforce Content Security Policy (CSP) headers to limit the execution of unauthorized scripts. Educate content contributors about the risks of injecting untrusted input and monitor logs for unusual activity related to the plugin. Finally, consider alternative plugins with better security track records if timely patching is not feasible.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-12-10T23:12:45.688Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e3eb7ef31ef0b59b8a6

Added to database: 2/25/2026, 9:48:46 PM

Last enriched: 2/26/2026, 4:16:15 AM

Last updated: 2/26/2026, 9:42:49 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats