# CVE-2023-36468: Upgrading doesn't prevent exploiting vulnerable XWiki documents

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 10.0
- **CVSS:** 10.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 3.73% (percentile 91, 2026-11-26)
- **CWE:** CWE-459
- **Aliases:** GHSA-8q9q-r9v2-644m
- **Published:** 2023-06-29T20:44:33.894Z
- **Modified:** 2026-06-17T06:06:19.613Z

## Who should check

- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-oldcore (\>= 2.0, \< 14.10.7)
- Anyone running xwiki-platform \>= 2.0, \< 14.10.7; \>= 15.0-rc-1, \< 15.2-rc-1

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When an XWiki installation is upgraded and that upgrade contains a fix for a bug in a document, just a new version of that document is added. In some cases, it's still possible to exploit the vulnerability that was fixed in the new version. The severity of this depends on the fixed vulnerability, for the purpose of this advisory take CVE-2022-36100/GHSA-2g5c-228j-p52x as example - it is easily exploitable with just view rights and critical. When XWiki is upgraded from a version before the fix for it (e.g., 14.3) to a version including the fix (e.g., 14.4), the vulnerability can still be reproduced by adding \`rev=1.1\` to the URL used in the reproduction steps so remote code execution is possible even after upgrading. Therefore, this affects the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability also affects manually added script macros that contained security vulnerabilities that were later fixed by changing the script macro without deleting the versions with the security vulnerability from the history. This vulnerability doesn't affect freshly installed versions of XWiki. Further, this vulnerability doesn't affect content that is only loaded from the current version of a document like the code of wiki macros or UI extensions. This vulnerability has been patched in XWiki 14.10.7 and 15.2RC1 by forcing old revisions to be executed in a restricted mode that disables all script macros. As a workaround, admins can manually delete old revisions of affected documents. A script could be used to identify all installed documents and delete the history for them. However, also manually added and later corrected code may be affected by this vulnerability so it is easy to miss documents.

## Affected and fixed versions

- Maven `org.xwiki.platform:xwiki-platform-oldcore`: affected \>= 2.0, \< 14.10.7; fixed 14.10.7, 15.2-rc-1 (osv)
- xwiki-platform: \>= 2.0, \< 14.10.7; \>= 15.0-rc-1, \< 15.2-rc-1 (cvelist)

## Mitigation

- Upgrade org.xwiki.platform:xwiki-platform-oldcore to one of 14.10.7, 15.2-rc-1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-36468. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-36468.md
Affected: org.xwiki.platform:xwiki-platform-oldcore >= 2.0, < 14.10.7
Fixed in: 14.10.7, 15.2-rc-1

Steps:
1. Search this machine and project for org.xwiki.platform:xwiki-platform-oldcore (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-36468 being exploited?

There is no confirmed exploitation: CVE-2023-36468 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 3.73% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-36468?

Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2023-36468?

org.xwiki.platform:xwiki-platform-oldcore \>= 2.0, \< 14.10.7.

### Is there a fix for CVE-2023-36468?

Yes. Fixed in 14.10.7, 15.2-rc-1. Upgrade org.xwiki.platform:xwiki-platform-oldcore to one of 14.10.7, 15.2-rc-1 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-36468?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8q9q-r9v2-644m>
- vendor: <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2g5c-228j-p52x>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-36468>
- patch: <https://github.com/xwiki/xwiki-platform/commit/15a6f845d8206b0ae97f37aa092ca43d4f9d6e59>
- exploit: <https://jira.xwiki.org/browse/XWIKI-20594>
- other: <https://github.com/xwiki/xwiki-platform>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-36468>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8q9q-r9v2-644m> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-36468> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-36468>
