CVE-2023-35155 is a high-severity (CVSS 8.8) Cross-site Scripting (XSS) vulnerability in org.xwiki.platform:xwiki-platform-sharepage-api. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for org.xwiki.platform:xwiki-platform-sharepage-api — see the affected versions and patch details below.
XWiki Platform vulnerable to cross-site scripting in target parameter via share page by email
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-35155.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.xwiki.platform:xwiki-platform-sharepage-api☕org.xwiki.platform:xwiki-platform-sharepage-apiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
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.
See https://jira.xwiki.org/browse/XWIKI-20370 for me details.
Patches
The vulnerability has been patched in XWiki 15.0-rc-1, 14.10.4, and 14.4.8.
Workarounds
The fix is only impacting Velocity templates and page contents, so applying this patch is enough to fix the issue.
References
https://jira.xwiki.org/browse/XWIKI-20370
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
Attribution
This vulnerability has been reported on Intigriti by René de Sain @renniepak.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-sharepage-api | ≥ 2.6-rc-2&&< 14.4.8 | 14.4.8org.xwiki.platform:xwiki-platform-sharepage-api:14.4.8 |
| ☕Maven | org.xwiki.platform:xwiki-platform-sharepage-api | ≥ 14.5&&< 14.10.4 | 14.10.4org.xwiki.platform:xwiki-platform-sharepage-api:14.10.4 |
Affected Products
xwikixwikiResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-sharepage-api, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-sharepage-api to 14.4.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-35155 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
How to detect CVE-2023-35155
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2023-35155 -u https://target- Template
- XWiki - Cross-Site Scripting
- Severity
- medium
- Impact
- Successful exploitation could lead to unauthorized access to sensitive information or account takeover
- Remediation
- Apply the latest security patches provided by XWiki to mitigate the vulnerability
Template by ProjectDiscovery nuclei-templates (ritikchaddha), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2023-35155 in your dependencies?
Find it across Maven, including transitive dependencies.