{"id":"CVE-2021-32621","published":"2021-05-28T21:05:11Z","modified":"2024-08-03T23:25:30Z","title":"Script injection without script or programming rights through Gadget titles","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions prior to 12.6.7 and 12.10.3, a user without Script or Programming right is able to execute script requiring privileges by editing gadget titles in the dashboard. The issue has been patched in XWiki 12.6.7, 12.10.3 and 13.0RC1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02102,"percentile":0.82178,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h353-hc43-95vc","tags":["x_refsource_CONFIRM"]},{"url":"https://jira.xwiki.org/browse/XWIKI-17794","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/bb7068bd911f91e5511f3cfb03276c7ac81100bc","tags":["x_refsource_MISC"]},{"url":"https://jay-from-future.github.io/cve/2021/06/17/xwiki-rce-cve.html","tags":["x_refsource_MISC"]}],"priority":{"score":22.6,"factors":[{"name":"EPSS percentile","points":16.44},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":["< 12.6.7",">= 12.10.0, < 12.10.3"]}],"affected":[{"ecosystem":"Maven","package":"org.xwiki.commons:xwiki-commons-core","vulnerableRanges":["<12.6.7",">=12.10.0, <12.10.3"],"patched":["12.6.7","12.10.3"],"from":["GHSA-h353-hc43-95vc"],"provenance":"source"}],"summary":{"text":"The flaw is a code injection weakness in the gadget title handling of xwiki-platform, the core product of XWiki, which affects versions before 12.6.7 and 12.10.3. An attacker with low-privilege access (a user lacking Script or Programming rights, and needing no user interaction over the network) can edit gadget titles on the dashboard to execute script that requires privileges they do not hold.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:49Z"},"euvd":{"id":"EUVD-2021-1090","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-32620","published":"2021-05-28","fixed":"12.10.2","kev":false,"link":{"from":"CVE-2021-32620","to":"CVE-2021-32621","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.commons:xwiki-commons-core","fromFixed":"12.10.2","toFixed":"12.10.3","daysApart":0}]}},{"cve":"CVE-2021-32621","published":"2021-05-28","fixed":"12.10.3","kev":false}],"package":"Maven:org.xwiki.commons:xwiki-commons-core"}}