{"cve":"CVE-2024-31986","nvd":{"published":"2024-04-10T21:15:06.917","modified":"2026-06-17T07:29:04.100","status":"Analyzed","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 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-352","CWE-95"],"references":["https://github.com/xwiki/xwiki-platform/commit/8a92cb4bef7e5f244ae81eed3e64fe9be95827cf","https://github.com/xwiki/xwiki-platform/commit/efd3570f3e5e944ec0ad0899bf799bf9563aef87","https://github.com/xwiki/xwiki-platform/commit/f30d9c641750a3f034b5910c6a3a7724ae8f2269","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-37m4-hqxv-w26g","https://jira.xwiki.org/browse/XWIKI-21416"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:48:32.179249784+00:00"},"epss":{"cve":"CVE-2024-31986","score":0.00549,"percentile":0.45982,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-37m4-hqxv-w26g","url":"https://osv.dev/vulnerability/GHSA-37m4-hqxv-w26g","summary":"XWiki Platform CSRF remote code execution through scheduler job's document reference","modified":"2026-09-10T03:50:11.159252770Z","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"],"fixed":["14.10.19"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-scheduler-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui","ranges":[">=15.0-rc-1 <15.5.4"],"fixed":["15.5.4"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-scheduler-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui","ranges":[">=15.6-rc-1 <15.9"],"fixed":["15.9"]}]}],"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."]}