It is possible to persistently inject scripts in XWiki.
For unregistred users: - By filling simple text fields
For registered users: - By filling their personal information - (if they have edit rights) By filling the values of static lists using App Within Minutes
That can lead to user's session hijacking, and if used in conjunction with a social engineering attack it can also lead to disclosure of sensitive data, CSRF attacks and other security vulnerabilities. That can also lead to the attacker taking over an account. If the victim has administrative rights it might even lead to code execution on the server, depending on the application and the privileges of the account.
It has been patched on XWiki 12.8 and 12.6.3.
There is no easy workaround except upgrading XWiki.
https://jira.xwiki.org/browse/XWIKI-17374
If you have any questions or comments about this advisory: * Open an issue in Jira XWiki * Email us at our security mailing list
{ "nvd_published_at": "2021-04-20T19:15:00Z", "github_reviewed_at": "2021-04-20T18:36:33Z", "severity": "CRITICAL", "github_reviewed": true, "cwe_ids": [ "CWE-79" ] }