{"cve":"CVE-2022-23616","nvd":{"published":"2022-02-09T21:15:07.880","modified":"2026-06-17T04:30:29.437","status":"Modified","description":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it's possible for an unprivileged user to perform a remote code execution by injecting a groovy script in her own profile and by calling the Reset password feature since the feature is performing a save of the user profile with programming rights in the impacted versions of XWiki. The issue has been patched in XWiki 13.1RC1. There are two different possible workarounds, each consisting of modifying the XWiki/ResetPassword page. 1. The Reset password feature can be entirely disabled by deleting the XWiki/ResetPassword page. 2. The script in XWiki/ResetPassword can also be modified or removed: an administrator can replace it with a simple email contact to ask an administrator to reset the password.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-74"],"references":["https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mgjw-2wrp-r535","https://jira.xwiki.org/browse/XWIKI-16661","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mgjw-2wrp-r535","https://jira.xwiki.org/browse/XWIKI-16661"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:28:04.509275555+00:00"},"epss":{"cve":"CVE-2022-23616","score":0.02097,"percentile":0.81681,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mgjw-2wrp-r535","url":"https://osv.dev/vulnerability/GHSA-mgjw-2wrp-r535","summary":"Remote code execution in xwiki-platform","modified":"2023-11-08T04:08:25.013213Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-administration-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-administration-ui","ranges":[">=3.1-milestone-1 <13.1RC1"],"fixed":["13.1RC1"]}]}],"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."]}