Vulnerability in org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (CVE-2021-21379)
Summary
Vulnerability in org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (CVE-2021-21379). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to 12.8 or later.
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2021-21379 has been found in org.xwiki.platform:xwiki-platform-rendering-wikimacro-store.
Risk of unauthorized operations or information disclosure.
What to do: upgrade org.xwiki.platform:xwiki-platform-rendering-wikimacro-store to 12.8 or later.
If unsure, ask your IT team or search "org.xwiki.platform:xwiki-platform-rendering-wikimacro-store CVE-2021-21379" on the vendor's site.
CVE-2021-21379 (org.xwiki.platform:xwiki-platform-rendering-wikimacro-store) — CWE-281
Attack vector: remote (network-reachable)
Patched: 12.8 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-281) exists in org.xwiki.platform:xwiki-platform-rendering-wikimacro-store.
Check the vendor advisory for the affected versions of org.xwiki.platform:xwiki-platform-rendering-wikimacro-store.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 12.8.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.xwiki.platform:xwiki-platform-rendering-wikimacro-store を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade org.xwiki.platform:xwiki-platform-rendering-wikimacro-store to 12.8ステージング環境で 12.8 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory github.com
- advisory nvd.nist.gov
- advisory jira.xwiki.org