{"id":"CVE-2023-26478","aliases":["CVE-2023-26478","GHSA-8692-g6g9-gm5p"],"related":[],"kind":"vulnerability","state":"published","title":"org.xwiki.platform:xwiki-platform-store-filesystem-oldcore has Exposed Dangerous Method or Function","summary":"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.\n`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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n`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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"}],"published":"2023-03-02T17:46:15.394Z","modified":"2026-06-17T05:43:25.433Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","score":6.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","score":6.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-749"],"affected":[{"ranges":[{"version":">= 14.3-rc-1, < 14.4.6","status":"affected"},{"version":">= 14.5, < 14.9-rc-1","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"14.3-rc-1","status":"affected","fixed":"14.4.6"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-store-filesystem-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-store-filesystem-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"14.5","status":"affected","fixed":"14.9-rc-1"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-store-filesystem-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-store-filesystem-oldcore","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"14.3","fixed":"14.4.6"},{"status":"affected","introduced":"14.5","fixed":"14.9"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8692-g6g9-gm5p","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/3c73c59e39b6436b1074d8834cf276916010014d","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20180","tags":["exploit","issue-tracking","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26478","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-05T20:48:58.284Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-26478","url":"https://www.cve.org/CVERecord?id=CVE-2023-26478","licence":"CVE Terms of Use","modified":"2025-03-05T20:49:02.330Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8692-g6g9-gm5p","url":"https://github.com/advisories/GHSA-8692-g6g9-gm5p","licence":"CC-BY-4.0","modified":"2023-11-08T04:12:01.777Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-26478","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26478","licence":"Public domain","modified":"2026-06-17T05:43:25.433Z"}],"updatedAt":"2026-11-25T22:58:22.244Z","epss":{"score":0.0067,"percentile":0.53248,"date":"2026-12-01T12:00:22.000Z"}}