{"id":"CVE-2020-15171","published":"2020-09-10T19:40:13Z","modified":"2024-08-04T13:08:22Z","title":"Users with SCRIPT rights can execute arbitrary code in XWiki","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"In XWiki before versions 11.10.5 or 12.2.1, any user with SCRIPT right (EDIT right before XWiki 7.4) can gain access to the application server Servlet context which contains tools allowing to instantiate arbitrary Java objects and invoke methods that may lead to arbitrary code execution. The only workaround is to give SCRIPT right only to trusted users.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01341,"percentile":0.72033,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7qw5-pqhc-xm4g","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":14.41},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":["<11.10.5",">=12.0.0, <12.2.1"]}],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","vulnerableRanges":["<11.10.5",">=12.0.0, <12.2.1"],"patched":["11.10.5","12.2.1"],"from":["GHSA-7qw5-pqhc-xm4g"],"provenance":"source"}],"summary":{"text":"The flaw is in the xwiki-platform product of XWiki, where users holding the SCRIPT right can access the application server's Servlet context, which exposes tools for instantiating arbitrary Java objects and invoking methods. An attacker who already holds the SCRIPT right over the network, without user interaction, can use those tools to execute arbitrary code on the server, though exploitation is hard to achieve and requires that the attacker already be authenticated with the SCRIPT right.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:56Z"},"euvd":{"id":"EUVD-2020-0862","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-xwiki-platform-cve-2020-15171","packageHistory":[{"cve":"CVE-2006-7223","published":"2007-09-14","fixed":"1.0B1","kev":false},{"cve":"CVE-2020-15171","published":"2020-09-10","fixed":"12.2.1","kev":false},{"cve":"CVE-2020-15252","published":"2020-10-16","fixed":"12.5","kev":false,"link":{"from":"CVE-2020-15171","to":"CVE-2020-15252","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"12.2.1","toFixed":"12.5","daysApart":36},{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-oldcore","fromFixed":"11.10.5","toFixed":"11.10.6","daysApart":36},{"kind":"similar","provenance":"machine","score":0.91,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2021-29459","published":"2021-04-20","fixed":"12.8","kev":false},{"cve":"CVE-2022-23615","published":"2022-02-09","fixed":"13.0","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-oldcore"}}