Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTVjNjYtdjI5aC14amg4

XSS Cross Site Scripting

Impact

It is possible to persistently inject scripts in XWiki.

For unregistred users:

For registered users:

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:

Permalink: https://github.com/advisories/GHSA-5c66-v29h-xjh8
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTVjNjYtdjI5aC14amg4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: almost 3 years ago
Updated: about 1 year ago


CVSS Score: 9.6
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L

Identifiers: GHSA-5c66-v29h-xjh8, CVE-2021-29459
References: Repository: https://github.com/xwiki/xwiki-platform

Affected Packages

maven:org.xwiki.platform:xwiki-platform-web
Affected Version Ranges: >= 12.6.4, < 12.8, < 12.6.3
Fixed in: 12.8, 12.6.3
maven:org.xwiki.platform:xwiki-platform-oldcore
Affected Version Ranges: >= 12.6.4, < 12.8, < 12.6.3
Fixed in: 12.8, 12.6.3