Impact
The ShareOpenly WordPress plugin has a Cross-Site Scripting flaw that occurs when the $url variable, built from home_url and request arguments, is inserted into an href attribute without escaping. If $url contains special characters or a dangerous URI scheme such as javascript:, the content will be rendered exactly as supplied, allowing arbitrary script execution in the context of any site visitor. This vulnerability can lead to theft of session cookies, defacement, or other typical XSS consequences.
Affected Systems
ShareOpenly WordPress plugin (vendor dartiss) is affected in all releases prior to version 1.2.1. The vulnerability exists in any installation of the plugin that has not been updated to 1.2.1 or newer where the missing esc_url() call remains.
Risk and Exploitability
The CVSS score of 5.3 classifies the flaw as moderate severity. EPSS data is not available, and the issue is not listed in the CISA KEV catalog. The likely attack vector involves a malicious or compromised filter that injects unsafe values into home_url, or a theme or server configuration that allows special characters in the URL. Once injected, the script runs whenever a user views a post or page that includes the share link, potentially enabling session hijacking or code execution in the visitor's browser.
OpenCVE Enrichment