CVE-2022-23622 XWiki
| Affected software | XWiki |
|---|---|
| Severity | 7.4 High CVSS 3.1 3 scores |
| Fixed in | 12.10.11, 13.4.7, 13.10.3 |
| Weakness | Cross-site scripting (CWE-79) |
| Published | 9 Feb 2022 |
| Updated | 17 Jun 2026 |
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions there is a cross site scripting (XSS) vector in the registerinline.vm template related to the xredirect hidden field. This template is only used in the following conditions: 1. The wiki must be open to registration for anyone. 2. The wiki must be closed to view for Guest users or more specifically the XWiki.Registration page must be forbidden in View for guest user. A way to obtain the second condition is when administrators checked the "Prevent unregistered users from viewing pages, regardless of the page rights" box in the administration rights. This issue is patched in versions 12.10.11, 14.0-rc-1, 13.4.7, 13.10.3. There are two main ways for protecting against this vulnerability, the easiest and the best one is by applying a patch in the registerinline.vm template, the patch consists in checking the value of the xredirect field to ensure it matches: <input type="hidden" name="xredirect" value="$escapetool.xml($!request.xredirect)" />. If for some reason it's not possible to patch this file, another workaround is to ensure "Prevent unregistered users from viewing pages, regardless of the page rights" is not checked in the rights and apply a better right scheme using groups and rights on spaces.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 4 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 1.0% chance in 30 days
Waratek protection
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: xwiki/xwiki-platform 053d957.
- 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/commit/053d957d53f2a543d158f3ab651e390d2728e0b9 : a commit: the change itself |
CVSS
7.4 HIGH
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
3 metrics
CVSS
7.4 HIGH v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/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.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 7.4 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
security-advisories@github.com | Secondary | published |
| CVSS 3.1 | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
NVD | Primary | |
| CVSS 2.0 | 4.3 | none | AV:N/AC:M/Au:N/C:N/I:P/A:N |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.xwiki.platform:xwiki-platform-web-templates |
2.6.1 | 12.10.11 |
unbounded |
org.xwiki.platform:xwiki-platform-web-templates |
13.0.0 | 13.4.7 |
unbounded |
org.xwiki.platform:xwiki-platform-web-templates |
13.10.0 | 13.10.3 |
unbounded |
Products and versions
2 products, 9 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.xwiki.platform | xwiki-platform-web-templates | generic | ≥ 2.6.1 and < 12.10.11 · ≥ 13.0.0 and < 13.4.7 · ≥ 13.10.0 and < 13.10.3 |
| nvd | xwiki | xwiki | generic | ≤ 12.10.10 · ≥ 13.0 and ≤ 13.4.6 · 13.10 · 13.10.1 · 13.10.2 · 14.0 |
References
Timeline
Timeline
| Published | 2022-02-09 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |