XWiki 12.x-15.x XSS CVE-2023-45136 in createinline.vm
CVE-2023-45136 Published on October 25, 2023
XWiki Platform web templates vulnerable to reflected XSS in the create document form if name validation is enabled
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When document names are validated according to a name strategy (disabled by default), XWiki starting in version 12.0-rc-1 and prior to versions 12.10.12 and 15.5-rc-1 is vulnerable to a reflected cross-site scripting attack in the page creation form. This allows an attacker to execute arbitrary actions with the rights of the user opening the malicious link. Depending on the rights of the user, this may allow remote code execution and full read and write access to the whole XWiki installation. This has been patched in XWiki 14.10.12 and 15.5-rc-1 by adding 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.
Vulnerability Analysis
CVE-2023-45136 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2023-45136. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is a XSS Vulnerability?
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CVE-2023-45136 has been classified to as a XSS vulnerability or weakness.
Products Associated with CVE-2023-45136
Want to know whenever a new CVE is published for Xwiki? stack.watch will email you.
Affected Versions
xwiki-platform:- Version >= 12.0-rc-1, < 14.10.12 is affected.
- Version >= 15.0-rc-1, < 15.5-rc-1 is affected.
- Version 12.0-rc-1 and below 14.10.12 is affected.
- Version 5.0-rc-1 and below 15.5-rc-1 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2023-45136
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-web-templates | >= 12.0-rc-1, < 14.10.12 | 14.10.12 |
| maven | org.xwiki.platform:xwiki-platform-web-templates | >= 15.0-rc-1, < 15.5-rc-1 | 15.5-rc-1 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.