{"cve":"CVE-2024-37899","nvd":{"published":"2024-06-20T23:15:52.460","modified":"2026-06-17T07:39:00.767","status":"Analyzed","description":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When an admin disables a user account, the user's profile is executed with the admin's rights. This allows a user to place malicious code in the user profile before getting an admin to disable the user account. To reproduce, as a user without script nor programming rights, edit the about section of your user profile and add `{{groovy}}services.logging.getLogger(\"attacker\").error(\"Hello from Groovy!\"){{/groovy}}`.\nAs an admin, go to the user profile and click the \"Disable this account\" button. Then, reload the page. If the logs show `attacker - Hello from Groovy!` then the instance is vulnerable. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.\n\n### Workarounds\nWe're not aware of any workaround except upgrading.\n\n### References\n* https://jira.xwiki.org/browse/XWIKI-21611\n* https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8.0},"cwes":["CWE-94"],"references":["https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j584-j2vj-3f93","https://jira.xwiki.org/browse/XWIKI-21611","https://github.com/xwiki/xwiki-platform/commit/f89c8f47fad6e5cc7e68c69a7e0acde07f5eed5a","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j584-j2vj-3f93"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:52:00.836172422+00:00"},"epss":{"cve":"CVE-2024-37899","score":0.00694,"percentile":0.52975,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j584-j2vj-3f93","url":"https://osv.dev/vulnerability/GHSA-j584-j2vj-3f93","summary":"XWiki Platform allows remote code execution from user account","modified":"2026-09-10T03:50:15.642870764Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=13.4.7 <14.10.21"],"fixed":["14.10.21"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=13.10.3 <14.10.21"],"fixed":["14.10.21"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=15.0-rc-1 <15.5.5"],"fixed":["15.5.5"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=15.6-rc-1 <15.10.6"],"fixed":["15.10.6"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=16.0.0-rc-1 <16.0.0"],"fixed":["16.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}