CVE-2024-31983 is a critical-severity (CVSS 9.9) CWE-862 vulnerability in org.xwiki.platform:xwiki-platform-localization-source-wiki. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for org.xwiki.platform:xwiki-platform-localization-source-wiki — see the affected versions and patch details below.
XWiki Platform: Remote code execution from edit in multilingual wikis via translations
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-31983.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.xwiki.platform:xwiki-platform-localization-source-wiki☕org.xwiki.platform:xwiki-platform-localization-source-wiki☕org.xwiki.platform:xwiki-platform-localization-source-wikiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
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). This can be exploited for remote code execution if the translation value is not properly escaped where it is used. To reproduce, in a multilingual wiki, as a user without script or admin right, edit a translation of AppWithinMinutes.Translations and in the line platform.appwithinminutes.description= add {{async}}{{groovy}}println("Hello from Translation"){{/groovy}}{{/async}} at the end. Then open the app with in minutes home page (AppWithinMinutes.WebHome) in the same locale. If translations are still working and "Hello from Translation" is displayed at the end of the introduction, the installation is vulnerable.
Patches
This has been patched in XWiki 14.10.20, 15.5.4 and 15.10RC1.
Workarounds
We're not aware of any workaround except restricting edit right on documents that contain translations.
References
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-localization-source-wiki | ≥ 4.3-milestone-2&&< 14.10.20 | 14.10.20org.xwiki.platform:xwiki-platform-localization-source-wiki:14.10.20 |
| ☕Maven | org.xwiki.platform:xwiki-platform-localization-source-wiki | ≥ 15.0-rc-1&&< 15.5.4 | 15.5.4org.xwiki.platform:xwiki-platform-localization-source-wiki:15.5.4 |
| ☕Maven | org.xwiki.platform:xwiki-platform-localization-source-wiki | ≥ 15.6-rc-1&&< 15.10-rc-1 | 15.10-rc-1org.xwiki.platform:xwiki-platform-localization-source-wiki:15.10-rc-1 |
Affected Products
xwikixwikiResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-localization-source-wiki, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-localization-source-wiki to 14.10.20 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-31983 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2024-31983 in your dependencies?
Find it across Maven, including transitive dependencies.