CVE-2021-29459
XSS Cross Site Scripting
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
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform » xwiki-platform-oldcore | < 12.6.3>= 12.6.4, < 12.8 | 12.6.3, 12.8 |
| org.xwiki.platform » xwiki-platform-web | < 12.6.3>= 12.6.4, < 12.8 | 12.6.3, 12.8 |
Blast radius
61% of the dependent artifacts (493) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 23,547 |
| 2 hops | 22,260 |
| 3 hops | 9,670 |
| 4 hops | 1,776 |
| 5 hops | 116 |
| 6 hops | 2 |
Most used dependents
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- org.xwiki.platform » xwiki-platform-rest-server85 usages
- org.xwiki.platform » xwiki-platform-tool-packager-plugin77 usages
- org.xwiki.platform » xwiki-platform-administration-ui75 usages
- org.xwiki.platform » xwiki-platform-test-page72 usages
- org.xwiki.platform » xwiki-platform-test-oldcore71 usages
- org.xwiki.platform » xwiki-platform-panels-ui62 usages
- org.xwiki.platform » xwiki-platform-configuration-default57 usages
- org.phenotips » patient-data-api52 usages
- com.xwiki.licensing » application-licensing-licensor-api51 usages
- org.xwiki.platform » xwiki-platform-skin-skinx49 usages
- org.xwiki.platform » xwiki-platform-livetable-ui48 usages
- org.xwiki.platform » xwiki-platform-rendering-wikimacro-store47 usages
- org.xwiki.platform » xwiki-platform-uiextension-api47 usages
- org.phenotips » vocabularies-api46 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-29459 | nvd.nist.gov |
| Web | xwiki/xwiki-platform advisory GHSA-5c66-v29h-xjh8 | github.com |
