Skip to content
OpenAdvisories
Critical · 9.7 Scanner template CVE-2023-45136 EUVD-2023-2794GHSA-qcj9-gcpg-4w2w

XWiki Platform web templates vulnerable to reflected XSS in the create document form if name validation is enabled

Published Oct 25, 2023 · Updated Sep 10, 2024 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
xwiki xwiki-platform >= 12.0-rc-1, < 14.10.12, >= 15.0-rc-1, < 15.5-rc-1 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-web-templates >= 12.0-rc-1, < 14.10.12 14.10.12 GHSA-qcj9-gcpg-4w2w
Maven org.xwiki.platform:xwiki-platform-web-templates >= 15.0-rc-1, < 15.5-rc-1 15.5-rc-1 GHSA-qcj9-gcpg-4w2w

References