CVE-2021-21379
Last modified
CVE-2021-21379 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Xwiki | Xwiki | >= 11.4, < 11.10.11 |
| Xwiki | Xwiki | >= 12.0, < 12.6.3 |
| Xwiki | Xwiki | >= 12.7, <= 12.7.1 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v662-xpcc-9xf6Third Party Advisory
- https://jira.xwiki.org/browse/XWIKI-17759Vendor Advisory
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v662-xpcc-9xf6Third Party Advisory
- https://jira.xwiki.org/browse/XWIKI-17759Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-21379?
How severe is CVE-2021-21379?
How do I fix CVE-2021-21379?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-21373Nimble is a package manager for the Nim programming language…5.9
- CVE-2021-21374Nimble is a package manager for the Nim programming language…8.1
- CVE-2021-21375PJSIP is a free and open source multimedia communication lib…6.5
- CVE-2021-21376OMERO.web is open source Django-based software for managing …6.5
- CVE-2021-21377OMERO.web is open source Django-based software for managing …5.4
- CVE-2021-21378Envoy is a cloud-native high-performance edge/middle/service…8.2
- CVE-2021-2138Vulnerability in the Oracle Cloud Infrastructure Data Scienc…4.6
- CVE-2021-21380XWiki Platform is a generic wiki platform offering runtime s…8.8
- CVE-2021-21381Flatpak is a system for building, distributing, and running …8.2
- CVE-2021-21382Restund is an open source NAT traversal server. The restund …9.6
- CVE-2021-21383Wiki.js an open-source wiki app built on Node.js. Wiki.js be…5.4
- CVE-2021-21384shescape is a simple shell escape package for JavaScript. In…7.8
Are you affected by CVE-2021-21379?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
