Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-21379

published high CVSS 3.1 · 7.7

It's possible to execute anything with the rights of the author of a macro which uses the {{wikimacrocontent}} macro

Published
12 Mar 2021, 17:30:15 UTC
Updated
03 Aug 2024, 18:09:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
xwiki — xwiki-platform>= 11.4.0, < 11.10.11 · >= 12.0.0, < 12.6.3 · >= 12.7.0, < 12.8-rc-1 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.7 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
xwiki xwiki-platform >= 11.4.0, < 11.10.11 (affected)>= 12.0.0, < 12.6.3 (affected)>= 12.7.0, < 12.8-rc-1 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-281 CWE-281 Improper Preservation of Permissions (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

It's possible to execute anything with the rights of the author of a macro which uses the {{wikimacrocontent}} macro

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
9f1682274c9215b508c2c35b50ba44112832c03c0c7ab90e80c1f7c9e04f8e50
Ingested
23 Sep 2026, 07:52:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected