GHSA-v662-xpcc-9xf6 — xwiki-platform-rendering-…
GHSA-v662-xpcc-9xf6 is a CWE-281 vulnerability in org.xwiki.platform:xwiki-platform-rendering-wikimacro-store. A fix is available for org.xwiki.platform:xwiki-platform-rendering-wikimacro-store — see the affected versions and patch details below.
It's possible to execute anything with the rights of the author of a macro which uses the {{wikimacrocontent}} macro
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Real-World Exposure
org.xwiki.platform:xwiki-platform-rendering-wikimacro-store☕org.xwiki.platform:xwiki-platform-rendering-wikimacro-store☕org.xwiki.platform:xwiki-platform-rendering-wikimacro-storeReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
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.
Patches
It has been patched in versions XWiki 12.6.3, 11.10.11 and 12.8-rc-1.
Workarounds
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.
References
https://jira.xwiki.org/browse/XWIKI-17759
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki
- Email us at our security mailing list
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-rendering-wikimacro-store | ≥ 11.4&&< 11.10.11 | 11.10.11org.xwiki.platform:xwiki-platform-rendering-wikimacro-store:11.10.11 |
| ☕Maven | org.xwiki.platform:xwiki-platform-rendering-wikimacro-store | ≥ 12.0&&< 12.6.3 | 12.6.3org.xwiki.platform:xwiki-platform-rendering-wikimacro-store:12.6.3 |
| ☕Maven | org.xwiki.platform:xwiki-platform-rendering-wikimacro-store | ≥ 12.7&&< 12.8 | 12.8org.xwiki.platform:xwiki-platform-rendering-wikimacro-store:12.8 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-rendering-wikimacro-store, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-rendering-wikimacro-store to 11.10.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-v662-xpcc-9xf6 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-v662-xpcc-9xf6 can be triaged on real exposure rather than presence alone.
Tailored to GHSA-v662-xpcc-9xf6. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-v662-xpcc-9xf6 in your dependencies?
O3 Security finds GHSA-v662-xpcc-9xf6 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.