{"id":"CVE-2026-48094","summary":"ShareOpenly has Cross-Site Scripting (XSS) via Missing esc_url() on Shared URL in Content Output","details":"The ShareOpenly WordPress plugin prior to version 1.2.1 contains a Cross-Site Scripting vulnerability caused by the absence of WordPress's `esc_url()` escaping function on the `$url` variable before it is rendered into HTML content. This variable is constructed from `home_url( add_query_arg( array(), $wp-\u003erequest ) )` 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 `esc_url()`, which both HTML-encodes special characters (converting `\"`, `\u003c`, `\u003e` 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 `home_url` 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.","aliases":["GHSA-v43f-f7jq-7hh5"],"modified":"2026-08-09T03:47:20.630996876Z","published":"2026-08-07T12:37:17.468Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48094.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/dartiss/shareopenly/releases/tag/1.2.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48094.json"},{"type":"ADVISORY","url":"https://github.com/dartiss/shareopenly/security/advisories/GHSA-v43f-f7jq-7hh5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48094"},{"type":"FIX","url":"https://github.com/dartiss/shareopenly/commit/faf58f0497f3a024ea52c425122ef5aa22e0d7f6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dartiss/shareopenly","events":[{"introduced":"0"},{"fixed":"faf58f0497f3a024ea52c425122ef5aa22e0d7f6"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.2.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["1.2","1.1","1.0.1","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48094.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}