# CVE-2023-40573: XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.08%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-23T20:41:30.000Z
- Modified: 2026-06-17T06:18:31.613Z
- Also known as: GHSA-8xhr-x3v8-rghj
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki supports scheduled jobs that contain Groovy scripts. Currently, the job checks the content author of the job for programming right. However, modifying or adding a job script to a document doesn't modify the content author. Together with a CSRF vulnerability in the job scheduler, this can be exploited for remote code execution by an attacker with edit right on the wiki. If the attack is successful, an error log entry with "Job content executed" will be produced. This vulnerability has been patched in XWiki 14.10.9 and 15.4RC1.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: < 14.10.9; >= 1.3; >= 15.0-rc-1, < 15.4-rc-1; from 1.3 before 14.10.9; from 15.0-rc-1 before 15.4-rc-1
- org.xwiki.platform:xwiki-platform-scheduler-api (Maven): before 14.10.9; from 15.0-rc-1 before 15.4-rc-1
- com.xpn.xwiki.platform.plugins:xwiki-plugin-scheduler (Maven): from 1.3
- xwiki xwiki: before 14.10.9; 15.0; 15.1; 15.2; 15.3

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://jira.xwiki.org/browse/XWIKI-20852> (exploit, issue-tracking, patch, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8xhr-x3v8-rghj> (patch, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/fcdcfed3fe2e8a3cad66ae0610795a2d58ab9662> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40573> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2023-40573](https://www.cve.org/CVERecord?id=CVE-2023-40573), CVE Terms of Use, modified 2024-10-03
- GitHub Advisory Database: [GHSA-8xhr-x3v8-rghj](https://github.com/advisories/GHSA-8xhr-x3v8-rghj), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-40573](https://nvd.nist.gov/vuln/detail/CVE-2023-40573), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-40573 · Whole record: https://cve.day/CVE-2023-40573.json · Rebuilt by cve.day 2026-11-25T22:58:27.325Z
