CVE-2026-48094: ShareOpenly has Cross-Site Scripting (XSS) via Missing esc_url() on Shared URL in Content Output
The ShareOpenly WordPress plugin prior to version 1.2.1 contains a Cross-Site Scripting vulnerability caused by the absence of WordPress's escurl() escaping function on the $url variable before it is rendered into HTML content. This variable is constructed from homeurl( addqueryarg( array(), $wp->request ) ) and is concatenated directly into an HTML href attribute on every singular post or page where the plugin's sharing link is displayed. WordPress's security handbook mandates that every URL placed in HTML output must be passed through escurl(), which both HTML-encodes special characters (converting ", <, > into their safe HTML entity equivalents) and strips dangerous URI schemes such as javascript: and data:. The omission of this function means that if the $url value ever contains HTML-special characters or a dangerous URI scheme — through a homeurl WordPress filter applied by another plugin or theme, through certain web server or hosting configurations, or through future code changes — the unescaped content will be injected verbatim into the rendered HTML of every post or page on the site. Version 1.2.1 contains a patch for the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
wordpress/shareopEnlyto a version that resolves this vulnerability.Fixed in 1.2.1 - Configuration
In the plugin code path that renders the sharing link into an HTML href attribute on singular post/page views, escape the constructed URL using WordPress's esc_url() (WordPress security handbook requirement) before output.
ShareOpenly WordPress plugin Use WordPress esc_url() for shared URL output = esc_url($url)
Event History
Frequently Asked Questions
What is the severity of CVE-2026-48094?
CVE-2026-48094 has a risk score of 31, indicating a moderate level of severity.
How do I fix CVE-2026-48094?
To resolve CVE-2026-48094, update the ShareOpenly WordPress plugin to version 1.2.1 or later.
What causes the vulnerability in CVE-2026-48094?
CVE-2026-48094 is caused by the lack of the `esc_url()` function which leads to Cross-Site Scripting (XSS) vulnerabilities.
Which library is affected by CVE-2026-48094?
The vulnerability affects the ShareOpenly WordPress plugin prior to version 1.2.1.
What type of vulnerability is CVE-2026-48094?
CVE-2026-48094 is classified as a Cross-Site Scripting (XSS) vulnerability.