CVE-2023-40572
HIGH 8.0CVSS 3.1XWiki Platform vulnerable to CSRF privilege escalation/RCE via the create action
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The create action is vulnerable to a CSRF attack, allowing script and thus remote code execution when targeting a user with script/programming right, thus compromising the confidentiality, integrity and availability of the whole XWiki installation. When a user with script right views this image and a log message ERROR foo - Script executed! appears in the log, the XWiki installation is vulnerable. This has been patched in XWiki 14.10.9 and 15.4RC1 by requiring a CSRF token for the actual page creation.
- Published
- 24 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-352
- Also known as
- GHSA-4f8m-7h83-9f6m
- Sources
- NVDJSONOSV GHSA-4f8m-7h83-9f6mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
< 14.10.9 | 14.10.9 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* |
= 15.0 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:* |
= 15.0 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:15.1:-:*:*:*:*:*:* |
= 15.1 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:15.1:rc1:*:*:*:*:*:* |
= 15.1 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:15.2:-:*:*:*:*:*:* |
= 15.2 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:15.2:rc1:*:*:*:*:*:* |
= 15.2 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:15.3:-:*:*:*:*:*:* |
= 15.3 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:15.3:rc1:*:*:*:*:*:* |
= 15.3 | |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 3.2-milestone-3, < 14.10.9 | 14.10.9 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 15.0-rc-1, < 15.4-rc-1 | 15.4-rc-1 |
References
- https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7 · Patch, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m · Patch, Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-20849 · Exploit, Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-40572 · ADVISORY
- https://github.com/xwiki/xwiki-platform/commit/123e5d7e4ca06bf75b95aaef665aafc4fa9cae64 · WEB
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 24 Aug 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Aug 2023)