Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-23259

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).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-23259
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:57 UTC · Revision 1

Source evidence

CVE-2021-23259

core-osv · Original source

Published 2 Dec 2021, 16:15 UTC

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).

osv:CVE-2021-23259
Complete source record
{
  "id": "8d7b120c4b90e1515b5e5489d262a9305971cb128fc9c5905747738275b0fd22",
  "url": "https://osv.dev/vulnerability/CVE-2021-23259",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-23259",
    "summary": "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).",
    "evidence": "osv:CVE-2021-23259",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-23259",
      "aliases": [
        "CVE-2021-23259"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/craftersoftware/craftercms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8b4368c37a3ccdddbd37c1dd915d8352b3c6f1ef"
                },
                {
                  "fixed": "2cb0bd34e685080060906d7d83a5d16b9f303a49"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:craftercms:crafter_cms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "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"
          }
        }
      ],
      "modified": "2026-10-24T10:30:33.945172566Z",
      "provider": "osv",
      "references": [
        "https://docs.craftercms.org/en/3.1/security/advisory.html#cv-2021120102"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-23259",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 433409,
  "published_at": "2021-12-02T16:15:07.513+00:00"
}