GitHub Advisoryadvisory · Maven
GHSA-fwwj-wg89-7h4c XWiki Platform vulnerable to cross-site scripting in target parameter via share page by email
HIGH
Official page ↗
- Aliases
- CVE-2023-35155
- Ecosystem
- Maven
- Packages
- org.xwiki.platform:xwiki-platform-sharepage-api
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
- Weaknesses
- CWE-79
- Reviewed
- 2023-06-20
Affected packages
• Maven org.xwiki.platform:xwiki-platform-sharepage-api: >= 2.6-rc-2, < 14.4.8 → fixed in 14.4.8
• Maven org.xwiki.platform:xwiki-platform-sharepage-api: >= 14.5, < 14.10.4 → fixed in 14.10.4
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/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 `` 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.
Related
Alias · CVE (1)
- CVE-2023-35155 XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fwwj-wg89-7h4c web
- https://nvd.nist.gov/vuln/detail/CVE-2023-35155 advisory
- https://github.com/xwiki/xwiki-platform/commit/ca88ebdefb2c9fa41490959cce9f9e62404799e7 web
- https://github.com/xwiki/xwiki-platform package
- https://jira.xwiki.org/browse/XWIKI-20370 web