{"id":"CVE-2024-31987","published":"2024-04-10T20:32:39Z","modified":"2024-08-20T18:00:36Z","title":"XWiki Platform remote code execution from account via custom skins support","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"XWiki Platform is a generic wiki platform. Starting in version 6.4-milestone-1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, any user who can edit any page like their profile can create a custom skin with a template override that is executed with programming right, thus allowing remote code execution. This has been patched in XWiki 14.10.19, 15.5.4 and 15.10RC1. No known workarounds are available except for 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.01447,"percentile":0.73956,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-cv55-v6rw-7r5v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/3d4dbb41f52d1a6e39835cfb1695ca6668605a39","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/626d2a5dbf95b4e719ae13bf1a0a9c76e4edd5a2","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/da177c3c972e797d92c1a31e278f946012c41b56","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21478","tags":["x_refsource_MISC"]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":14.79},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 6.4-milestone-1, < 14.10.19",">= 15.0-rc-1, < 15.5.4",">= 15.6-rc-1, < 15.10-rc-1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-08-20T17:31:03.795162Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","vulnerableRanges":[">=6.4-milestone-1, <14.10.19",">=15.0-rc-1, <15.5.4",">=15.6-rc-1, <15.10-rc-1"],"patched":["14.10.19","15.5.4","15.10-rc-1"],"from":["GHSA-cv55-v6rw-7r5v"],"provenance":"source"}],"summary":{"text":"XWiki Platform, the generic wiki platform, contains a flaw in its custom skins support that lets a user with edit rights on a page such as their own profile create a skin with a template override. An attacker with such an account can have that override executed with programming right, which allows remote code execution over the network with low privileges and no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:32Z"},"euvd":{"id":"EUVD-2024-1189","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-21648","published":"2024-01-08","fixed":"14.10.17","kev":false,"link":{"from":"CVE-2024-21648","to":"CVE-2024-31987","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"14.10.17","toFixed":"14.10.19","daysApart":93}]}},{"cve":"CVE-2023-41046","published":"2023-09-01","fixed":"15.4-rc-1","kev":false,"link":{"from":"CVE-2023-41046","to":"CVE-2024-31987","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-31987","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"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,"link":{"from":"CVE-2024-31987","to":"CVE-2024-37898","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"15.10-rc-1","toFixed":"15.10.6","daysApart":112}]}},{"cve":"CVE-2024-37899","published":"2024-06-20","fixed":"16.0.0","kev":false,"link":{"from":"CVE-2024-31987","to":"CVE-2024-37899","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"15.10-rc-1","toFixed":"15.10.6","daysApart":71}]}},{"cve":"CVE-2024-43400","published":"2024-08-19","fixed":"16.0.0","kev":false,"link":{"from":"CVE-2024-31987","to":"CVE-2024-43400","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"15.10-rc-1","toFixed":"15.10.6","daysApart":131}]}}],"package":"Maven:org.xwiki.platform:xwiki-platform-oldcore"}}