Medium

xwiki contains Exposed Dangerous Method or Function

  • Disclosed: 03.03.2023
  • Updated: 11.10.2026 11:21

Impact

org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment is returning 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.

Patches

This has been patched in the version 14.9-rc-1 and 14.4.6.

Workarounds

There's no workaround for this issue.

References

https://jira.xwiki.org/browse/XWIKI-20180

For more information

If you have any questions or comments about this advisory:

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.xwiki.platform:xwiki-platform-store-filesystem-oldcore >= 14.3-rc-1, < 14.4.6, >= 14.5, < 14.9-rc-1 14.4.6, 14.9-rc-1

References

CVSS score 6.6/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
Weakness (CWE)
CWE-749
Platform
Java / Kotlin (Maven)
Package
org.xwiki.platform:xwiki-platform-store-filesystem-oldcore
Disclosed
03.03.2023
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-8692-g6g9-gm5p - CC BY 4.0

Vulnerability history: org.xwiki.platform:xwiki-platform-store-filesystem-oldcore

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

This is the only known vulnerability of this package.

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.