{"id":"CVE-2024-31985","aliases":["CVE-2024-31985","GHSA-j2r6-r929-v6gf"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki Platform CSRF in the job scheduler","summary":"XWiki Platform is a generic wiki platform. Starting in version 3.1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, it is possible to schedule/trigger/unschedule existing jobs by having an admin visit the Job Scheduler page through a predictable URL, for example by embedding such an URL in any content as an image. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9. As a workaround, manually apply the patch by modifying the `Scheduler.WebHome` page.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XWiki Platform is a generic wiki platform. Starting in version 3.1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, it is possible to schedule/trigger/unschedule existing jobs by having an admin visit the Job Scheduler page through a predictable URL, for example by embedding such an URL in any content as an image. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9. As a workaround, manually apply the patch by modifying the `Scheduler.WebHome` page.","source":"cvelist"},{"lang":"en","text":"### Impact\nIt is possible to schedule/trigger/unschedule existing jobs by having an admin visit the Job Scheduler page through a predictable URL, for example by embedding such an URL in any content as an image.\n\nTo reproduce in an XWiki installation, open `<xwiki-host>:/xwiki/bin/view/Scheduler/?do=trigger&which=Scheduler.NotificationEmailDailySender` as a user with admin rights. If there is no error message that indicates the CSRF token is invalid, the installation is vulnerable.\n\n### Patches\nThe vulnerability has been fixed on XWiki 14.10.19, 15.5.5, and 15.9.\n\n### Workarounds\nModify the Scheduler.WebHome page following this [patch](https://github.com/xwiki/xwiki-platform/commit/f16ca4ef1513f84ce2e685d4a05d689bd3a2ab4c#diff-1e2995eacccbbbdcc4987ff64f46ac74837d166cf9e92920b4a4f8af0f10bd47).\n\n### References\n- https://jira.xwiki.org/browse/XWIKI-20851\n- https://github.com/xwiki/xwiki-platform/commit/f16ca4ef1513f84ce2e685d4a05d689bd3a2ab4c","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki Platform es una plataforma wiki genérica. A partir de la versión 3.1 y anteriores a las versiones 4.10.20, 15.5.4 y 15.10-rc-1, es posible programar/activar/desprogramar trabajos existentes haciendo que un administrador visite la página del Programador de trabajos a través de una URL predecible, por ejemplo incrustando dicha URL en cualquier contenido como una imagen. La vulnerabilidad se solucionó en XWiki 14.10.19, 15.5.5 y 15.9. Como workaround, aplique manualmente el parche modificando la página `Scheduler.WebHome`.","source":"nvd"}],"published":"2024-04-10T17:14:12.000Z","modified":"2026-09-10T03:50:11.494Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"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"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.1","status":"affected","fixed":"14.10.19"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-scheduler-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"15.0-rc-1","status":"affected","fixed":"15.5.4"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-scheduler-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"15.6-rc-1","status":"affected","fixed":"15.9"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-scheduler-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.1.1","fixed":"14.10.19"},{"status":"affected","introduced":"15.0","fixed":"15.5.4"},{"status":"affected","introduced":"15.6","fixed":"15.9"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j2r6-r929-v6gf","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/8a92cb4bef7e5f244ae81eed3e64fe9be95827cf","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/efd3570f3e5e944ec0ad0899bf799bf9563aef87","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/f16ca4ef1513f84ce2e685d4a05d689bd3a2ab4c","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/f30d9c641750a3f034b5910c6a3a7724ae8f2269","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20851","tags":["exploit","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31985","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-11T17:28:09.550Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-31985","url":"https://www.cve.org/CVERecord?id=CVE-2024-31985","licence":"CVE Terms of Use","modified":"2024-08-02T01:59:50.770Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j2r6-r929-v6gf","url":"https://github.com/advisories/GHSA-j2r6-r929-v6gf","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.494Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-31985","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31985","licence":"Public domain","modified":"2026-06-17T07:29:03.973Z"}],"updatedAt":"2026-11-25T22:58:39.077Z","epss":{"score":0.00486,"percentile":0.34592,"date":"2026-11-29T12:00:22.000Z"}}