{"id":"CVE-2024-31981","published":"2024-04-10T19:22:57Z","modified":"2024-08-13T13:37:34Z","title":"XWiki Platform: Privilege escalation (PR) from user registration through PDFClass","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"XWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, remote code execution is possible via PDF export templates. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10-rc-1. If PDF templates are not typically used on the instance, an administrator can create the document `XWiki.PDFClass` and block its edition, after making sure that it does not contain a `style` attribute. Otherwise, there are no known workarounds aside from upgrading.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0317,"percentile":0.88764,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vxwr-wpjv-qjq7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/480186f9d2fca880513da8bc5a609674d106cbd3","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/a4ad14d9c1605a5ab957237e505ebbb29f5b9d73","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/d28e21a670c69880b951e415dd2ddd69d273eae9","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21337","tags":["x_refsource_MISC"]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":17.75},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 3.0.1, < 14.10.20",">= 15.0-rc-1, < 15.5.4",">= 15.6-rc-1, < 15.10-rc-1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-06-26T17:31:37.472728Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","vulnerableRanges":[">=3.0.1, <14.10.20",">=15.0-rc-1, <15.5.4",">=15.6-rc-1, <15.10-rc-1"],"patched":["14.10.20","15.5.4","15.10-rc-1"],"from":["GHSA-vxwr-wpjv-qjq7"],"provenance":"source"}],"summary":{"text":"The XWiki Platform generic wiki platform contains a flaw in its PDF export templates, where the PDFClass document can be abused to gain privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:32Z"},"euvd":{"id":"EUVD-2024-1314","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-40572","published":"2023-08-24","fixed":"15.4-rc-1","kev":false},{"cve":"CVE-2023-41046","published":"2023-09-01","fixed":"15.4-rc-1","kev":false,"link":{"from":"CVE-2023-41046","to":"CVE-2024-31981","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"15.4-rc-1","toFixed":"15.5.4","daysApart":222}]}},{"cve":"CVE-2024-31464","published":"2024-04-10","fixed":"15.9-rc-1","kev":false,"link":{"from":"CVE-2024-31464","to":"CVE-2024-31981","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"14.10.19","toFixed":"14.10.20","daysApart":0},{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"15.9-rc-1","toFixed":"15.10-rc-1","daysApart":0}]}},{"cve":"CVE-2024-31981","published":"2024-04-10","fixed":"15.10-rc-1","kev":false},{"cve":"CVE-2024-31987","published":"2024-04-10","fixed":"15.10-rc-1","kev":false},{"cve":"CVE-2024-37898","published":"2024-07-31","fixed":"15.10.6","kev":false},{"cve":"CVE-2024-37899","published":"2024-06-20","fixed":"16.0.0","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-oldcore"}}