.. / CVE-2023-35159

Exploit for XWiki >= 3.4-milestone-1 - Cross-Site Scripting (CVE-2023-35159)

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). It’s possible to exploit the deletespace template to perform a XSS, e.g. by using URL such as: > xwiki/bin/deletespace/Sandbox/?xredirect=javascript:alert(document.domain).

Nuclei Template

View the template here CVE-2023-35159.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2023/CVE-2023-35159.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2023-35159
https://jira.xwiki.org/browse/XWIKI-20612