{"cve":"CVE-2023-40573","nvd":{"published":"2023-08-24T02:15:09.973","modified":"2026-06-17T06:18:31.613","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-284"],"references":["https://github.com/xwiki/xwiki-platform/commit/fcdcfed3fe2e8a3cad66ae0610795a2d58ab9662","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8xhr-x3v8-rghj","https://jira.xwiki.org/browse/XWIKI-20852","https://github.com/xwiki/xwiki-platform/commit/fcdcfed3fe2e8a3cad66ae0610795a2d58ab9662","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8xhr-x3v8-rghj"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-40573","score":0.01081,"percentile":0.65158,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-8xhr-x3v8-rghj","url":"https://osv.dev/vulnerability/GHSA-8xhr-x3v8-rghj","summary":"XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution","modified":"2023-11-08T04:13:21.862077Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-scheduler-api","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-api","ranges":["<14.10.9"],"fixed":["14.10.9"]},{"ecosystem":"Maven","name":"com.xpn.xwiki.platform.plugins:xwiki-plugin-scheduler","purl":"pkg:maven/com.xpn.xwiki.platform.plugins/xwiki-plugin-scheduler","ranges":[">=1.3"],"fixed":[]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-scheduler-api","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-api","ranges":[">=15.0-rc-1 <15.4-rc-1"],"fixed":["15.4-rc-1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}