Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-23621 EUVD-2022-0762GHSA-2jhm-qp48-hv5j

Missing authorization in xwiki-platform

Published Feb 9, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
xwiki xwiki-platform >= 13.6.0, < 13.7-rc-1, >= 13.0.0, < 13.4.3, < 12.10.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-oldcore >= 13.6-rc-1, < 13.7-rc-1 13.7-rc-1 GHSA-2jhm-qp48-hv5j
Maven org.xwiki.platform:xwiki-platform-oldcore >= 13.0.0, < 13.4.3 13.4.3 GHSA-2jhm-qp48-hv5j
Maven org.xwiki.platform:xwiki-platform-oldcore < 12.10.9 12.10.9 GHSA-2jhm-qp48-hv5j

References