Skip to content
OpenAdvisories
High · 8.8 Scanner template CVE-2023-35155 EUVD-2023-1793GHSA-fwwj-wg89-7h4c

XWiki Platform vulnerable to cross-site scripting in target parameter via share page by email

Published Jun 23, 2023 · Updated Nov 27, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
xwiki xwiki-platform >= 2.6-rc-2, < 14.4.8, >= 14.5, < 14.10.4 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-sharepage-api >= 2.6-rc-2, < 14.4.8 14.4.8 GHSA-fwwj-wg89-7h4c
Maven org.xwiki.platform:xwiki-platform-sharepage-api >= 14.5, < 14.10.4 14.10.4 GHSA-fwwj-wg89-7h4c

References