It was possible to inject some code using the URL of authenticate endpoints, e.g.:
https://hostname/xwiki/authenticate/wiki/xwiki%22onload=%22alert(origin)%22/resetpassword
This vulnerability was present in recent versions of XWiki:
This problem has been patched on XWiki 13.10.11, 14.4.7 and 14.10.
There is no easy workaround except to upgrade.
If you have any questions or comments about this advisory:
{
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2023-04-12T20:36:19Z",
"nvd_published_at": "2023-04-16T07:15:00Z",
"severity": "MODERATE"
}