CVE-2023-26478 org.xwiki.platform:xwiki-platform-store-filesystem-oldcore has Exposed Dangerous Method or Function
Attackers can bypass programming rights checks to execute dangerous operations via exposed attachment methods in XWiki Platform.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-26478?
CVE-2023-26478 is a medium-severity missing authorization vulnerability in Xwiki Xwiki, published on 2 Mar 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-749
Which versions are affected by CVE-2023-26478?
4 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-store-filesystem-oldcore. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.platform:xwiki-platform-store-filesystem-oldcore Maven | From 14.3-rc-1 | 14.4.6 |
org.xwiki.platform:xwiki-platform-store-filesystem-oldcore Maven | From 14.3-rc-1 | 14.4.6 |
org.xwiki.platform:xwiki-platform-store-filesystem-oldcore Maven | From 14.5 | 14.9-rc-1 |
org.xwiki.platform:xwiki-platform-store-filesystem-oldcore Maven | From 14.5 | 14.9-rc-1 |
Products include Xwiki Xwiki.
How do I fix CVE-2023-26478?
Upgrade org.xwiki.platform:xwiki-platform-store-filesystem-oldcore to a fixed version for your release line: 14.4.6 or 14.9-rc-1.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2023-26478 being exploited?
There is no known exploitation of CVE-2023-26478 in the wild and no public exploit code.
Other vulnerabilities in Xwiki Xwiki
- CVE-2025-24893 XWiki Platform Eval Injection
- CVE-2025-53836 XWiki Rendering is vulnerable to RCE attacks when processing nested macros
- CVE-2024-55662 XWiki allows remote code execution through the extension sheet
- CVE-2024-55877 XWiki allows remote code execution from account through macro descriptions and XWiki.XWikiSyntaxMacrosList
- CVE-2024-37901 XWiki Platform vulnerable to remote code execution from account via SearchSuggestConfigSheet
Sources
Also known as GHSA-8692-g6g9-gm5p.