{"id":"CVE-2023-26478","aliases":["GHSA-8692-g6g9-gm5p"],"url":"https://o3.security/vulnerability/CVE-2023-26478","summary":"org.xwiki.platform:xwiki-platform-store-filesystem-oldcore has Exposed Dangerous Method or Function","details":"### Impact\n`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.\n`com.xpn.xwiki.api.Attachment` should be used instead and takes case of checking the user's rights before performing dangerous operations.\n\n### Patches\nThis has been patched in the version 14.9-rc-1 and 14.4.6.\n\n### Workarounds\nThere's no workaround for this issue.\n\n### References\nhttps://jira.xwiki.org/browse/XWIKI-20180\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [JIRA](https://jira.xwiki.org/)\n* Email us at [security ML](mailto:security@xwiki.org)\n","published":"2023-03-02T17:46:15.394Z","modified":"2026-08-12T13:34:02.361495Z","cvss":{"score":6.6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L"},"epss":{"score":0.0067,"percentile":0.48968,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-store-filesystem-oldcore","fixedVersion":"14.4.6"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-store-filesystem-oldcore","fixedVersion":"14.9-rc-1"}],"fix":{"url":"https://github.com/xwiki/xwiki-platform/commit/3c73c59e39b6436b1074d8834cf276916010014d","label":"xwiki/xwiki-platform@3c73c59"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-20180"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26478.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8692-g6g9-gm5p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26478"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/3c73c59e39b6436b1074d8834cf276916010014d"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T13:34:02.361495Z"}}