VDB
Sign up
MEDIUM

GHSA-h5jm-jjgx-q2wf

XWiki Remote Code Execution

Quick fix

GHSA-h5jm-jjgx-q2wf — org.xwiki.platform:xwiki-platform-oldcore: upgrade to the fixed version with the command below.

# pom.xml: bump <version>1.0B1</version> for org.xwiki.platform:xwiki-platform-oldcore

Details

PreviewAction in XWiki 0.9.543 through 0.9.1252 does not set the Author field to the identity of the user who last modified a document, which allows remote authenticated users without programming rights to execute arbitrary code by selecting a document whose author has programming rights, modifying this document to contain a script, and previewing without saving the document.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.xwiki.platform:xwiki-platform-oldcore
Introduced in: 0.9.543Fixed in: 1.0B1
Fix# pom.xml: bump <version>1.0B1</version> for org.xwiki.platform:xwiki-platform-oldcore

References