Skip to content
OpenAdvisories
Medium · 6.6 CVE-2023-26478 EUVD-2023-0939GHSA-8692-g6g9-gm5p

org.xwiki.platform:xwiki-platform-store-filesystem-oldcore has Exposed Dangerous Method or Function

Published Mar 2, 2023 · Updated Mar 5, 2025 · Assigned by GitHub_M

Description

XWiki Platform is a generic wiki platform. Starting in version 14.3-rc-1, `org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment` returns an instance of `com.xpn.xwiki.doc.XWikiAttachment`. This class is not supported to be exposed to users without the `programing` right.
`com.xpn.xwiki.api.Attachment` should be used instead and takes case of checking the user's rights before performing dangerous operations. This has been patched in versions 14.9-rc-1 and 14.4.6. There are no known workarounds for this issue.

Affected products

VendorProductAffectedFixed
xwiki xwiki-platform >= 14.3-rc-1, < 14.4.6, >= 14.5, < 14.9-rc-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-store-filesystem-oldcore >= 14.3-rc-1, < 14.4.6 14.4.6 GHSA-8692-g6g9-gm5p
Maven org.xwiki.platform:xwiki-platform-store-filesystem-oldcore >= 14.5, < 14.9-rc-1 14.9-rc-1 GHSA-8692-g6g9-gm5p

References