{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-31986","id":"CVE-2024-31986","title":"XWiki Platform CSRF remote code execution through scheduler job's document reference","description":"XWiki Platform is a generic wiki platform. Starting in version 3.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, by creating a document with a special crafted documented reference and an `XWiki.SchedulerJobClass` XObject, it is possible to execute arbitrary code on the server whenever an admin visits the scheduler page or the scheduler page is referenced, e.g., via an image in a comment o","descriptionLong":"XWiki Platform is a generic wiki platform. Starting in version 3.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, by creating a document with a special crafted documented reference and an `XWiki.SchedulerJobClass` XObject, it is possible to execute arbitrary code on the server whenever an admin visits the scheduler page or the scheduler page is referenced, e.g., via an image in a comment on a page in the wiki. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9. As a workaround, apply the patch manually by modifying the `Scheduler.WebHome` page.","published":"2024-04-10T20:27:29.600Z","updated":"2026-10-28T10:43:47.215261987Z","reserved":"2024-04-08T13:48:37.490Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["xwiki-platform"],"affectedProducts":[{"vendor":"xwiki","product":"xwiki-platform","defaultStatus":null,"versions":[{"version":">= 3.1, < 14.10.19","status":"affected"},{"version":">= 15.0-rc-1, < 15.5.4","status":"affected"},{"version":">= 15.6-rc-1, < 15.9","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-scheduler-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui","ranges":[">=3.1 <14.10.19",">=15.0-rc-1 <15.5.4",">=15.6-rc-1 <15.9"],"fixed":["14.10.19","15.5.4","15.9"],"advisory":"GHSA-37m4-hqxv-w26g"}],"cwes":["CWE-352","CWE-95"],"aliases":["GHSA-37m4-hqxv-w26g"],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-37m4-hqxv-w26g","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/8a92cb4bef7e5f244ae81eed3e64fe9be95827cf","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/efd3570f3e5e944ec0ad0899bf799bf9563aef87","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/f30d9c641750a3f034b5910c6a3a7724ae8f2269","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21416","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31986.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31986","tags":["advisory"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00549,"epssPercentile":0.46746,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-31986","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31986","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-31986","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-37m4-hqxv-w26g","ok":true,"note":"GHSA-37m4-hqxv-w26g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-31986","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}