Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString as `$xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg")`. This issue has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1. Users are advised to update. The only workaround is to limit SCRIPT right.
Remediation
References
https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j
https://jira.xwiki.org/browse/XWIKI-18870
Related Vulnerabilities
CVE-2021-23820 Vulnerability in npm package json-pointer
CVE-2020-26291 Vulnerability in maven package org.webjars.bower:urijs
CVE-2023-37913 Vulnerability in maven package org.xwiki.platform:xwiki-platform-office-importer
CVE-2019-0193 Vulnerability in maven package org.apache.solr:solr-core
CVE-2020-28191 Vulnerability in maven package org.togglz:togglz-console