WaratekVRT Sign in

CVE-2021-21379 XWiki

Affected softwareXWiki
Severity7.7 High CVSS 3.1 3 scores
Fixed in11.10.11, 12.6.3, 12.8
WeaknessCWE-281
Published12 Mar 2021
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.48% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v662-xpcc-9xf6 : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

CVSS

7.7 HIGH v3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.7 HIGH CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N security-advisories@github.com Secondary published
CVSS 3.1 5.4 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N NVD Primary
CVSS 2.0 3.5 none AV:N/AC:M/Au:S/C:N/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-rendering-wikimacro-store 11.4 11.10.11 unbounded
org.xwiki.platform:xwiki-platform-rendering-wikimacro-store 12.0 12.6.3 unbounded
org.xwiki.platform:xwiki-platform-rendering-wikimacro-store 12.7 12.8 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-rendering-wikimacro-store generic ≥ 11.4 and < 11.10.11 · ≥ 12.0 and < 12.6.3 · ≥ 12.7 and < 12.8
nvd xwiki xwiki generic ≥ 11.4 and < 11.10.11 · ≥ 12.0 and < 12.6.3 · ≥ 12.7 and ≤ 12.7.1

References

URLTags
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v662-xpcc-9xf6 advisory
https://jira.xwiki.org/browse/XWIKI-17759 WEB

Timeline

Published2021-03-12By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.