# CVE-2022-23621: Missing authorization in xwiki-platform

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Published: 2022-02-09T21:25:11.000Z
- Modified: 2026-06-17T04:30:30.063Z
- Also known as: GHSA-2jhm-qp48-hv5j
- Weaknesses: CWE-552, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 13.6.0, < 13.7-rc-1; >= 13.0.0, < 13.4.3; < 12.10.9
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 13.6-rc-1 before 13.7-rc-1; from 13.0.0 before 13.4.3; before 12.10.9
- xwiki xwiki: before 12.10.9; from 13.4 before 13.4.3; from 13.4.4 up to 13.7

## Every score

- GitHub_M: 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`
- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j> (third-party-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a> (patch, third-party-advisory, web)
- <https://jira.xwiki.org/browse/XWIKI-18870> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23621> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2022-23621](https://www.cve.org/CVERecord?id=CVE-2022-23621), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-2jhm-qp48-hv5j](https://github.com/advisories/GHSA-2jhm-qp48-hv5j), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-23621](https://nvd.nist.gov/vuln/detail/CVE-2022-23621), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23621 · Whole record: https://cve.day/CVE-2022-23621.json · Rebuilt by cve.day 2026-11-25T22:58:09.593Z
