{"id":"CVE-2021-32621","aliases":["CVE-2021-32621","GHSA-h353-hc43-95vc"],"related":[],"kind":"vulnerability","state":"published","title":"Script injection without script or programming rights through Gadget titles","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nA user without Script or Programming right is able to execute script requiring privileges by editing gadget titles in the dashboard.\n\n### Patches\nThe issue has been patched in XWiki 12.6.7, 12.10.3 and 13.0RC1.\n\n### Workarounds\nThere's no easy workaround for this issue, it is recommended to upgrade XWiki.\n\n### References\nhttps://jira.xwiki.org/browse/XWIKI-17794\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [JIRA](https://jira.xwiki.org)\n* Email us at [XWiki security mailing-list](mailto:security@xwiki.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"La Plataforma XWiki es una plataforma wiki genérica que ofrece servicios de ejecución para las aplicaciones construidas sobre ella. En las versiones anteriores a la versión 12.6.7 y 12.10.3, un usuario sin derecho de Script o Programación puede ejecutar un script que requiera privilegios al editar los títulos de los gadgets en el tablero. El problema ha sido parcheado en XWiki versiones 12.6.7, 12.10.3 y 13.0RC1","source":"nvd"}],"published":"2021-05-18T18:36:16.000Z","modified":"2026-07-08T06:29:19.967Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"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:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"< 12.6.7","status":"affected"},{"version":">= 12.10.0, < 12.10.3","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.6.7"}],"ecosystem":"Maven","package":"org.xwiki.commons:xwiki-commons-core","purl":"pkg:maven/org.xwiki.commons/xwiki-commons-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"12.10.0","status":"affected","fixed":"12.10.3"}],"ecosystem":"Maven","package":"org.xwiki.commons:xwiki-commons-core","purl":"pkg:maven/org.xwiki.commons/xwiki-commons-core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.0.1","fixed":"12.6.7"},{"status":"affected","introduced":"12.10","fixed":"12.10.3"},{"status":"affected","version":"3.0"},{"status":"affected","version":"3.0"},{"status":"affected","version":"3.0"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h353-hc43-95vc","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-17794","tags":["permissions-required","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/bb7068bd911f91e5511f3cfb03276c7ac81100bc","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jay-from-future.github.io/cve/2021/06/17/xwiki-rce-cve.html","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32621","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32621","url":"https://www.cve.org/CVERecord?id=CVE-2021-32621","licence":"CVE Terms of Use","modified":"2024-08-03T23:25:30.541Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h353-hc43-95vc","url":"https://github.com/advisories/GHSA-h353-hc43-95vc","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:19.967Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32621","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32621","licence":"Public domain","modified":"2026-06-17T03:53:17.330Z"}],"updatedAt":"2026-11-25T22:58:01.590Z","epss":{"score":0.02102,"percentile":0.82252,"date":"2026-12-01T12:00:22.000Z"}}