CVE-2023-45137
published critical CVSS 3.1 · 9.1XWiki Platform XSS with edit right in the create document form for existing pages
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xwiki | — | xwiki-platform>= 3.1-milestone-2, < 13.4-rc-1 · >= 14.0-rc-1, < 14.10.12 · >= 15.0-rc-1, < 15.5-rc-1 | Affected | Not stated | GitHub_M |
| xwiki | — | xwiki-platform3.1-milestone-2 to < 13.4-rc-1 · 14.0-rc-1 to < 14.10.12 · 5.0-rc-1 to < 15.5-rc-1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. `org.xwiki.platform:xwiki-platform-web` starting in version 3.1-milestone-2 and prior to version 13.4-rc-1, as well as `org.xwiki.platform:xwiki-platform-web-templates` prior to versions 14.10.12 and 15.5-rc-1, are vulnerable to cross-site scripting. When trying to create a document that already exists, XWiki displays an error message in the form for creating it. Due to missing escaping, this error message is vulnerable to raw HTML injection and thus XSS. The injected code is the document reference of the existing document so this requires that the attacker first creates a non-empty document whose name contains the attack code. This has been patched in `org.xwiki.platform:xwiki-platform-web` version 13.4-rc-1 and `org.xwiki.platform:xwiki-platform-web-templates` versions 14.10.12 and 15.5-rc-1 by adding the appropriate escaping. The vulnerable template file `createinline.vm` is part of XWiki's WAR and can be patched by manually applying the changes from the fix.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwiki | xwiki-platform | >= 3.1-milestone-2, < 13.4-rc-1 (affected)>= 14.0-rc-1, < 14.10.12 (affected)>= 15.0-rc-1, < 15.5-rc-1 (affected) | GitHub_M · cna |
| xwiki | xwiki-platform | 3.1-milestone-2 to < 13.4-rc-1 (affected · custom)14.0-rc-1 to < 14.10.12 (affected · custom)5.0-rc-1 to < 15.5-rc-1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
3GitHub_M · cna
XWiki Platform XSS with edit right in the create document form for existing pages
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1e912b33274c815880734a7532f6c31a9be88e4499609f533c595573a8f8b017
- Ingested
- 23 Sep 2026, 08:12:20 UTC
- Source record
- Official CVE record