{"id":"CVE-2021-23259","details":"Authenticated users with Administrator or Developer roles may execute OS commands by Groovy Script which uses Groovy lib to render a webpage. The groovy script does not have security restrictions, which will cause attackers to execute arbitrary commands remotely(RCE).","modified":"2026-07-09T00:12:48.772836Z","published":"2021-12-02T16:15:07.513Z","references":[{"type":"ADVISORY","url":"https://docs.craftercms.org/en/3.1/security/advisory.html#cv-2021120102"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftercms/craftercms","events":[{"introduced":"8b4368c37a3ccdddbd37c1dd915d8352b3c6f1ef"},{"fixed":"2cb0bd34e685080060906d7d83a5d16b9f303a49"}],"database_specific":{"cpe":"cpe:2.3:a:craftercms:crafter_cms:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.1.0"},{"fixed":"3.1.12"}],"source":"CPE_RANGE"}}],"versions":["v3.1.11","v3.1.10","v3.1.9","v3.1.8","v3.1.7","v3.1.6","v3.1.5","v3.1.4","v3.1.1","v3.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23259.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}