Sploit.io - Search

Product: G Web Pro Store Locator, version: >= *, <= 2.1

CVE-2024-11682

Severity: MEDIUM

Description: The G Web Pro Store Locator plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'q' parameter in all versions up to, and including, 2.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

CVSS Score: 6.1

Priority

B

CISA Data

EPSS Data

  • EPSS: 0.013020000
  • Percentile: 0.799420000
  • Date: 2026-05-18

ExploitDB

No data available.

HackerOne Data

  • Rank: 9388
  • Reports submitted count: 0
  • Unknown: 0
  • None: 0
  • Low: 0
  • Medium: 0
  • High: 0
  • Critical: 0

GitHub PoCs

    Nuclei Templates

    No data available.

    VulnCheck Data

    Affected Products:

    • moonheart G Web Pro Store Locator - Versions: *

    References:

    Risk Assessment

    1. Risk Assessment
    The G Web Pro Store Locator plugin for WordPress contains a Reflected Cross-Site Scripting (XSS) vulnerability. This vulnerability, stemming from insufficient input sanitization of the ‘q’ parameter, allows an attacker to inject malicious scripts into web pages viewed by users. The CVSS score of 6.1 (Medium) indicates a moderate level of risk. The likelihood of exploitation is moderate, as it requires user interaction – typically clicking a crafted link. The ease of exploitation is relatively low, requiring the attacker to create a malicious URL. The impact on confidentiality is low, as the attacker can likely steal cookies or session tokens. The impact on integrity is low, as the attacker can modify the page content viewed by the user. Availability isn't directly impacted, though a more sophisticated attack could potentially lead to a denial-of-service. The business impact can range from minor defacement of the website to the compromise of user accounts, depending on the context of the page and the user’s privileges. Given the widespread use of WordPress, and potentially the store locator functionality, a successful attack could affect a significant number of users.

    2. Potential Attack Scenarios
    An attacker could craft a malicious URL containing a JavaScript payload in the 'q' parameter. For example: `https://example.com/store-locator/?q=<script>alert('XSS')</script>`. The attacker could then deliver this URL to a user via email, social media, or a forum post. When the user clicks on the link, the JavaScript payload will execute in their browser within the context of the WordPress site. The attacker could use this to steal the user’s cookies, redirect them to a phishing page, or modify the appearance of the store locator page. A more targeted attack could leverage the XSS to steal administrator credentials if the user is logged in as an administrator when clicking the malicious link. This scenario is particularly dangerous as it could allow the attacker to gain full control of the WordPress site.

    3. Mitigation Recommendations
    The primary mitigation is to update the G Web Pro Store Locator plugin to version 2.2 or later. This version includes the necessary input sanitization and output escaping to prevent the XSS vulnerability. WordPress administrators should check for updates within the WordPress dashboard (Plugins -> Installed Plugins). If updating immediately isn’t possible, consider using a WordPress security plugin that offers XSS protection. These plugins can provide an additional layer of defense by filtering out malicious scripts. Regularly monitor the PacketStorm Security website (https://packetstormsecurity.com/search/?q=CVE-2024-11682) for further information and potential exploits. Refer to the Wordfence advisory for detailed information on the vulnerability: https://www.wordfence.com/threat-intel/vulnerabilities/id/cb84b71e-7d4d-4bd7-88cb-1b86d7023edb?source=cve.

    4. Executive Summary
    The G Web Pro Store Locator plugin for WordPress is vulnerable to a Reflected Cross-Site Scripting (XSS) attack. This allows attackers to inject malicious scripts into web pages viewed by users, potentially leading to the theft of user cookies, redirection to phishing pages, or even compromise of administrator accounts. While the risk is currently assessed as medium, the widespread use of WordPress makes this vulnerability significant. Updating the plugin to version 2.2 or later is the most effective mitigation. Prompt action is recommended to protect website users and maintain the integrity of the WordPress site. Delaying patching could lead to increased risk of user account compromise and potential website defacement. Addressing this vulnerability is crucial for maintaining a secure online presence and building customer trust.