CVE-2026-113488

GeoDirectory < 2.8.196 - Contributor+ Stored XSS via gd_post_badge 'cta' Attribute

Published Oct 28, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
The GeoDirectory WordPress plugin before 2.8.196 does not properly escape a post badge shortcode attribute for a JavaScript context before placing it in an inline event handler, allowing users with the Contributor role and above to perform Stored Cross-Site Scripting attacks against anyone who clicks the badge, including administrators.

Analysis

AI-generated

Technical impact

The GeoDirectory WordPress plugin before version 2.8.196 fails to escape a post badge shortcode attribute named ‘cta’ when it is inserted into a JavaScript context inside an inline event handler. This flaw allows any authenticated user with the Contributor role or higher to embed arbitrary JavaScript that is then executed in the browser of any user who clicks the badge. The vulnerability is a classic example of CWE‑79, resulting in stored cross‑site scripting that can lead to theft of session cookies, credential compromise, and malicious actions performed as the victim user, thereby threatening confidentiality and integrity through information disclosure and unauthorized actions within the site.

Affected Systems

The GeoDirectory WordPress plugin is affected for installations using any version dated before 2.8.196. Users should verify that their installation is not a vulnerable release and ensure no Contributor or higher‑privileged accounts are active unless necessary.

Risk and Exploitability

The flaw requires an attacker to have Contributor or higher privileges to inject a malicious payload via a badge. Attackers can add a crafted ‘cta’ attribute through the WordPress editor, and the payload will be delivered to every user who clicks that badge. No network‑level exploitation is needed. The CVSS score of 6.8 indicates medium severity. The EPSS score of < 1% shows a low exploitation probability, and the CVE is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the GeoDirectory plugin to version 2.8.196 or later.
  • Restrict the use of Contributor or higher roles to trusted users only, and regularly audit posts containing the gd_post_badge shortcode.
  • Implement a Content Security Policy that disallows inline scripts or user‑supplied JavaScript to reduce the impact of any residual XSS risk.

Generated by OpenCVE AI on October 28, 2026 at 20:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions geodirectory
Vendors & Products Wordpress-extensions
Wordpress-extensions geodirectory
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
Description The GeoDirectory WordPress plugin before 2.8.196 does not properly escape a post badge shortcode attribute for a JavaScript context before placing it in an inline event handler, allowing users with the Contributor role and above to perform Stored Cross-Site Scripting attacks against anyone who clicks the badge, including administrators.
Title GeoDirectory < 2.8.196 - Contributor+ Stored XSS via gd_post_badge 'cta' Attribute
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Oct 28, 2026, 5:58 PM
Reserved
Oct 20, 2026, 9:06 AM
Status
Deferred
Published
Oct 28, 2026, 6:16 AM
Modified
Oct 28, 2026, 6:17 PM