{"id":"CVE-2024-31983","published":"2024-04-10T19:44:48Z","modified":"2024-08-13T13:54:49Z","title":"XWiki Platform: Remote code execution from edit in multilingual wikis via translations","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"XWiki Platform is a generic wiki platform. In multilingual wikis, translations can be edited by any user who has edit right, circumventing the rights that are normally required for authoring translations (script right for user-scope translations, wiki admin for translations on the wiki). Starting in version 4.3-milestone-2 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, this can be exploited for remote code execution if the translation value is not properly escaped where it is used. This has been patched in XWiki 14.10.20, 15.5.4 and 15.10RC1. As a workaround, one may restrict edit rights on documents that contain translations.","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.73957,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-xxp2-9c9g-7wmj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/2a9ce88f33663c53c9c63b2ea573f4720ea2efb9","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/73aef9648bbff04b697837f1b906932f0d5caacb","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/c4c8d61c30de72298d805ccc82df2a307f131c54","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21411","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":[">= 4.3-milestone-2, < 14.10.20",">= 15.0-rc-1, < 15.5.4",">= 15.6-rc-1, < 15.10-rc-1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-06-03T14:28:02.851069Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-localization-source-wiki","vulnerableRanges":[">=4.3-milestone-2, <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-xxp2-9c9g-7wmj"],"provenance":"source"}],"summary":{"text":"XWiki Platform's multilingual translation feature, in versions from 4.3-milestone-2 up to (but not including) 4.10.20, 15.5.4 and 15.10-rc-1, lets users with only edit rights modify translations that should require script right or wiki admin rights, due to missing authorization checks. An attacker with an ordinary account that has edit rights on a document containing translations, and whose translation value is then not properly escaped where it is used, can achieve remote code execution over the network without needing additional privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:32Z"},"euvd":{"id":"EUVD-2024-1341","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-xwiki-platform-cve-2023-29510","parents":[{"from":"CVE-2023-29510","to":"CVE-2024-31983","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-sources/xwiki-platform-localization-source-wiki/src/main/java/org/xwiki/localization/wiki/internal/DocumentTranslationBundleFactory.java"],"commits":["https://github.com/xwiki/xwiki-platform/commit/d06ff8a58480abc7f63eb1d4b8b366024d990643","https://github.com/xwiki/xwiki-platform/commit/2a9ce88f33663c53c9c63b2ea573f4720ea2efb9","https://github.com/xwiki/xwiki-platform/commit/73aef9648bbff04b697837f1b906932f0d5caacb"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2023-29520","published":"2023-04-18","fixed":"14.10.1","kev":false,"link":{"from":"CVE-2023-29520","to":"CVE-2024-31983","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-localization-source-wiki","fromFixed":"14.10.1","toFixed":"14.10.20","daysApart":358}]}},{"cve":"CVE-2024-31983","published":"2024-04-10","fixed":"15.10-rc-1","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-localization-source-wiki"}}