cbcvebase.
CVE-2023-45136
published 2023-10-25

CVE-2023-45136: 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…

PriorityP264critical9.6CVSS 3.1
AVNACLPRNUIRSCCHIHAH
EXPLOIT
EPSS
5.17%
91.4th percentile
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.

Affected

5 ranges
VendorProductVersion rangeFixed in
xwikixwiki
xwikixwiki>= 12.0 < 14.10.1214.10.12
xwikixwiki>= 15.0 < 15.515.5
xwikixwiki-platform
xwikixwiki-platform

Detection & IOCsextracted from sources · hover to see the quote

pathcreateinline.vm
otheralert(document.domain)", "data-xwiki-reference")'
  • Look for reflected XSS payloads in the page creation form, specifically in document name fields validated by a name strategy. The payload pattern includes alert(document.domain) with data-xwiki-reference attribute injection.
  • HTTP response must contain text/html content-type and return status 200 for the XSS to be reflected. Detection should correlate these response characteristics with suspicious input in the page creation endpoint.
  • The vulnerable template file createinline.vm is the injection point; monitor WAR deployments or file integrity of this template for unauthorized modifications or unpatched versions.
  • ·The name strategy validation (which enables the vulnerable code path) is disabled by default; exploitation requires it to be explicitly enabled in the XWiki configuration.
  • ·The vulnerability affects XWiki versions 12.0-rc-1 through 14.10.11 and 15.0 through 15.4; versions 14.10.12 and 15.5-rc-1 are patched.
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.