GHSA-wvqx-m5px-6cmp — xwiki-platform-web-templa…
Fix: xwiki/xwiki-platform@8337ac8GHSA-wvqx-m5px-6cmp is a Cross-site Scripting (XSS) vulnerability in org.xwiki.platform:xwiki-platform-web-templates. A fix is available for org.xwiki.platform:xwiki-platform-web-templates — see the affected versions and patch details below.
XWiki Affected by Reflected Cross-Site Scripting (XSS) in Error Messages
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-wvqx-m5px-6cmp.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.xwiki.platform:xwiki-platform-web-templates☕org.xwiki.platform:xwiki-platform-web-templates☕org.xwiki.platform:xwiki-platform-web-templatesReal-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
A reflected cross site scripting (XSS) vulnerability in XWiki allows an attacker to execute arbitrary actions in XWiki with the rights of the victim if the attacker manages to trick a victim into visiting a crafted URL. If the victim has administrative or programming rights, those rights can be exploited to gain full access to the XWiki installation.
Patches
This vulnerability has been patched in XWiki 17.8.0RC1, 17.4.5 and 16.10.12.
Workarounds
The patch can be applied manually, only a single line in templates/logging_macros.vm needs to be changed, no restart is required.
References
- https://github.com/xwiki/xwiki-platform/commit/8337ac8c3b19c37f306723b638b2cae8b0a57dbf
- https://jira.xwiki.org/browse/XWIKI-23462
Attribution
We thank Mike Cole @mikecole-mg for discovering and reporting this vulnerability.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-web-templates | ≥ 7.0-milestone-2&&< 16.10.12 | 16.10.12org.xwiki.platform:xwiki-platform-web-templates:16.10.12 |
| ☕Maven | org.xwiki.platform:xwiki-platform-web-templates | ≥ 17.0.0-rc-1&&< 17.4.5 | 17.4.5org.xwiki.platform:xwiki-platform-web-templates:17.4.5 |
| ☕Maven | org.xwiki.platform:xwiki-platform-web-templates | ≥ 17.5.0-rc-1&&< 17.8.0-rc-1 | 17.8.0-rc-1org.xwiki.platform:xwiki-platform-web-templates:17.8.0-rc-1 |
Affected Products
xwikixwikixwiki-renderingxwikiDetection & 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-web-templates, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-web-templates to 16.10.12 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-wvqx-m5px-6cmp is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
How to detect GHSA-wvqx-m5px-6cmp
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-wvqx-m5px-6cmp -u https://target- Template
- XWiki Platform Distribution Flavor Main - Cross-Site Scripting
- Severity
- medium
Template by ProjectDiscovery nuclei-templates (ritikchaddha), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-wvqx-m5px-6cmp in your dependencies?
Find it across Maven, including transitive dependencies.