Vulnerability · Published Jun 23, 2023 · Assigned by GitHub_M
CVE-2023-35155XWiki Platform vulnerable to cross-site scripting in target parameter via share page by email
High 8.8
In plain English
A high-severity cross-site scripting in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). For instance, the following URL execute an `alter` on the browser: `<xwiki-host>/xwiki/bin/view/Main/?viewer=share&send=1&target=&target=%3Cimg+src+onerror%3Dalert%28document.domain%29%3E+%3Cimg+src+onerror%3Dalert%28document.domain%29%3E+%3Crenniepak%40intigriti.me%3E&includeDocument=inline&message=I+wanted+to+share+this+page+with+you.`, where `<xwiki-host>` is the URL of your XWiki installation. The vulnerability has been patched in XWiki 15.0-rc-1, 14.10.4, and 14.4.8.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-sharepage-api | 14.4.8 | GHSA-fwwj-wg89-7h4c |
| Maven | org.xwiki.platform:xwiki-platform-sharepage-api | 14.10.4 | GHSA-fwwj-wg89-7h4c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 2.6-rc-2, < 14.4.8>= 14.5, < 14.10.4 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fwwj-wg89-7h4c x_refsource_CONFIRM
- https://jira.xwiki.org/browse/XWIKI-20370 x_refsource_MISC