{"id":"CVE-2026-48094","aliases":["CVE-2026-48094"],"related":[],"kind":"vulnerability","state":"published","title":"ShareOpenly has Cross-Site Scripting (XSS) via Missing esc_url() on Shared URL in Content Output","summary":"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->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 `esc_url()`, 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 `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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->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 `esc_url()`, 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 `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.","source":"cvelist"}],"published":"2026-08-07T12:37:17.468Z","modified":"2026-09-10T20:42:39.707Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.2.1","status":"affected"}],"vendor":"dartiss","product":"shareopenly","source":"cvelist"}],"references":[{"url":"https://github.com/dartiss/shareopenly/security/advisories/GHSA-v43f-f7jq-7hh5","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dartiss/shareopenly/commit/faf58f0497f3a024ea52c425122ef5aa22e0d7f6","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dartiss/shareopenly/releases/tag/1.2.1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-07T15:09:45.472Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48094","url":"https://www.cve.org/CVERecord?id=CVE-2026-48094","licence":"CVE Terms of Use","modified":"2026-08-07T15:10:31.005Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48094","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48094","licence":"Public domain","modified":"2026-09-10T20:42:39.707Z"}],"updatedAt":"2026-11-25T22:59:31.845Z","epss":{"score":0.00387,"percentile":0.34891,"date":"2026-12-01T12:00:22.000Z"}}