GitHub Advisoryadvisory · Maven
GHSA-5c66-v29h-xjh8 XSS Cross Site Scripting
CRITICAL
Official page ↗
- Aliases
- CVE-2021-29459
- Ecosystem
- Maven
- Packages
- org.xwiki.platform:xwiki-platform-oldcore, org.xwiki.platform:xwiki-platform-web
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L
- Weaknesses
- CWE-79
- Reviewed
- 2021-04-20
Affected packages
• Maven org.xwiki.platform:xwiki-platform-oldcore: < 12.6.3 → fixed in 12.6.3
• Maven org.xwiki.platform:xwiki-platform-oldcore: >= 12.6.4, < 12.8 → fixed in 12.8
• Maven org.xwiki.platform:xwiki-platform-web: < 12.6.3 → fixed in 12.6.3
• Maven org.xwiki.platform:xwiki-platform-web: >= 12.6.4, < 12.8 → fixed in 12.8
Description
Impact
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.
Patches
It has been patched on XWiki 12.8 and 12.6.3.
Workarounds
There is no easy workaround except upgrading XWiki.
References
https://jira.xwiki.org/browse/XWIKI-17374
For more information
If you have any questions or comments about this advisory:
• Open an issue in Jira XWiki
• Email us at our security mailing list
Related
Alias · CVE (1)
- CVE-2021-29459 XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness