CVE-2022-23621
MEDIUM 4.9CVSS 3.1Missing 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.
- Published
- 9 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-552CWE-862
- Also known as
- GHSA-2jhm-qp48-hv5j
- Sources
- NVDJSONOSV GHSA-2jhm-qp48-hv5jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
< 12.10.9 | 12.10.9 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 13.4, < 13.4.3 | 13.4.3 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 13.4.4, <= 13.7 | |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 13.6-rc-1, < 13.7-rc-1 | 13.7-rc-1 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 13.0.0, < 13.4.3 | 13.4.3 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | < 12.10.9 | 12.10.9 |
References
- https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a · Patch, Third Party Advisory, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j · 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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 9 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Feb 2022)