First published: Fri Mar 12 2021(Updated: )
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions of XWiki Platform, the `{{wikimacrocontent}}` executes the content with the rights of the wiki macro author instead of the caller of that wiki macro. This makes possible to inject scripts through it and they will be executed with the rights of the wiki macro (very often a user which has Programming rights). Fortunately, no such macro exists by default in XWiki Standard but one could have been created or installed with an extension. This vulnerability has been patched in versions XWiki 12.6.3, 11.10.11 and 12.8-rc-1. There is no easy workaround other than disabling the affected macros. Inserting content in a safe way or knowing what is the user who called the wiki macro is not easy.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Xwiki | >=11.4<11.10.11 | |
Xwiki | >=12.0<12.6.3 | |
Xwiki | >=12.7<=12.7.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-21379 has been assigned a medium severity level due to the potential for unauthorized access to sensitive content.
To fix CVE-2021-21379, upgrade XWiki Platform to version 12.7.2 or later.
CVE-2021-21379 affects XWiki versions from 11.4 to 11.10.11 and from 12.0 to 12.6.3, as well as version 12.7.
CVE-2021-21379 exploits a vulnerability in the {{wikimacrocontent}} feature, executing content with the rights of the macro author instead of the caller.
There is no official workaround for CVE-2021-21379; upgrading to a patched version is the recommended action.