{"id":"CVE-2023-26478","published":"2023-03-02T17:46:15Z","modified":"2025-03-05T20:49:02Z","title":"org.xwiki.platform:xwiki-platform-store-filesystem-oldcore has Exposed Dangerous Method or Function","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0067,"percentile":0.52921,"provenance":"source"},"cwes":[{"id":"CWE-749","name":"Exposed Dangerous Method or Function"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8692-g6g9-gm5p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/3c73c59e39b6436b1074d8834cf276916010014d","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20180","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":10.58},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 14.3-rc-1, < 14.4.6",">= 14.5, < 14.9-rc-1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-05T20:48:58.284479Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-store-filesystem-oldcore","vulnerableRanges":[">=14.3-rc-1, <14.4.6",">=14.5, <14.9-rc-1"],"patched":["14.4.6","14.9-rc-1"],"from":["GHSA-8692-g6g9-gm5p"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-0939","exploited":false,"provenance":"source"}}