XSS Cross Site Scripting
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.xwiki.platform:xwiki-platform-oldcore | < 12.6.3, >= 12.6.4, < 12.8 | 12.6.3, 12.8 |
| Java / Kotlin (Maven) | org.xwiki.platform:xwiki-platform-web | < 12.6.3, >= 12.6.4, < 12.8 | 12.6.3, 12.8 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
org.xwiki.platform:xwiki-platform-oldcore, org.xwiki.platform:xwiki-platform-web- Disclosed
- 22.04.2021
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5c66-v29h-xjh8 - CC BY 4.0
Vulnerability history: org.xwiki.platform:xwiki-platform-web
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 15
- First → latest
- 04.2021 02.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 5
- Medium 5
Disclosures per year
- 2021: 2
- 2022: 6
- 2023: 6
- 2024: 0
- 2025: 0
- 2026: 1
-
XSS Cross Site Scripting this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.