CVE-2022-23621
Missing authorization in xwiki-platform
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.5
Missing authorization in xwiki-platform
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.
- Record
CVE-2022-23621- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H - Weakness
- CWE-862
- Updated
- 2026-11-02
EUVDEUVD-2022-0762
5.5
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.
- Record
EUVD-2022-0762- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-2jhm-qp48-hv5j
5.5
Missing authorization in xwiki-platform
Impact
Any user with SCRIPT right (EDIT right before XWiki 7.4) can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString:
$xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg")
Patches
It has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1.
Workarounds
The only workaround is to give SCRIPT right only to trusted users.
References
https://jira.xwiki.org/browse/XWIKI-18870
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki
- Email us at our security mailing list
- Record
GHSA-2jhm-qp48-hv5j- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H - Weakness
- CWE-552, CWE-862
- Updated
- 2026-11-02
NVD
5.5
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.
- Record
CVE-2022-23621- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H - CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:P/I:N/A:N - Weakness
- CWE-862, CWE-552
- Updated
- 2026-11-02
OSV
5.5
Missing authorization in xwiki-platform
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.
- Record
CVE-2022-23621- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H - Weakness
- CWE-862
- Updated
- 2026-11-02
OSVGHSA-2jhm-qp48-hv5j
5.5
Missing authorization in xwiki-platform
Impact
Any user with SCRIPT right (EDIT right before XWiki 7.4) can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString:
$xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg")
Patches
It has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1.
Workarounds
The only workaround is to give SCRIPT right only to trusted users.
References
https://jira.xwiki.org/browse/XWIKI-18870
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki
- Email us at our security mailing list
- Record
GHSA-2jhm-qp48-hv5j- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H - Weakness
- CWE-552, CWE-862
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.xwiki.platform:xwiki-platform-oldcoreMaven |
13.6-rc-1 to 13.6 | 13.7-rc-1 |
org.xwiki.platform:xwiki-platform-oldcoreMaven |
13.0.0 up to 13.4.3 | 13.4.3 |
org.xwiki.platform:xwiki-platform-oldcoreMaven |
before 12.10.9 | 12.10.9 |
org.xwiki.platform:xwiki-platform-oldcoreMaven |
13.6-rc-1 up to 13.7-rc-1 | 13.7-rc-1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-23621 is a medium vulnerability (CVSS 5.5) in Xwiki, published February 9, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.94%, the 61st percentile. Fixed in org.xwiki.platform:xwiki-platform-oldcore 13.7-rc-1.
References
github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j
github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a
jira.xwiki.org/browse/XWIKI-18870
nvd.nist.gov/vuln/detail/CVE-2022-23621
github.com/advisories/GHSA-2jhm-qp48-hv5j
github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23621.json
github.com/xwiki/xwiki-platform