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.