Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-40219

Bolt CMS <= 4.2 is vulnerable to Remote Code Execution. Unsafe theme rendering allows an authenticated attacker to edit theme to inject server-side template injection that leads to remote code execution.

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

Source evidence

CVE-2021-40219

core-osv · Original source

Published 11 Apr 2022, 17:15 UTC

Bolt CMS <= 4.2 is vulnerable to Remote Code Execution. Unsafe theme rendering allows an authenticated attacker to edit theme to inject server-side template injection that leads to remote code execution.

osv:CVE-2021-40219
Complete source record
{
  "id": "557cf51796559cffb8433f576ecaf07beb04c175764d58f166b0662a89cd6a83",
  "url": "https://osv.dev/vulnerability/CVE-2021-40219",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-40219",
    "summary": "Bolt CMS <= 4.2 is vulnerable to Remote Code Execution. Unsafe theme rendering allows an authenticated attacker to edit theme to inject server-side template injection that leads to remote code execution.",
    "evidence": "osv:CVE-2021-40219",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-40219",
      "aliases": [
        "CVE-2021-40219",
        "GHSA-gprh-7767-cw39"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bolt/core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "89dd040b440434e60bee9001ca69fa262dce061c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:bolt:bolt_cms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "4.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.2.0",
            "4.2.0-rc.1",
            "4.2.0-beta.14",
            "4.2.0-beta.13",
            "4.2.0-beta.12",
            "4.2.0-beta.11",
            "4.2.0-beta.10",
            "4.2.0-beta.9",
            "4.2.0-beta.8.3",
            "4.2.0-beta.8.2",
            "4.2.0-beta.8.1",
            "4.2.0-beta.8",
            "4.2.0-beta.7.2",
            "4.2.0-beta.7.1",
            "4.2.0-beta.7",
            "4.1.12",
            "4.1.11",
            "4.1.10",
            "4.1.9",
            "4.1.8",
            "4.1.7.1",
            "4.1.7",
            "4.1.6",
            "4.1.5",
            "4.1.4",
            "4.1.0",
            "4.1.3",
            "4.1.2",
            "4.0.1",
            "4.0.0",
            "4.0.0-rc.44",
            "4.0.0-rc.43",
            "4.0.0-rc.42",
            "4.0.0-rc.41",
            "4.0.0-rc.40",
            "4.0.0-rc.39",
            "4.0.0-rc.37",
            "4.0.0-rc.35",
            "4.0.0-rc.34",
            "4.0.0-rc.33",
            "4.0.0-rc.32",
            "4.0.0-rc.31",
            "4.0.0-rc.29",
            "4.0.0-rc.28",
            "4.0.0-rc.27",
            "4.0.0-rc.26",
            "4.0.0-rc.25",
            "4.0.0-rc.24",
            "4.0.0-rc.23",
            "4.0.0-rc.22",
            "4.0.0-rc.21",
            "4.0.0-rc.20",
            "4.0.0-rc.19",
            "4.0.0-rc.18",
            "4.0.0-rc.17",
            "4.0.0-rc.16",
            "4.0.0-rc.15",
            "4.0.0-rc.14",
            "4.0.0-rc.13",
            "4.0.0-rc.12",
            "4.0.0-rc.11",
            "4.0.0-rc.10",
            "4.0.0-rc.9",
            "4.0.0-rc.8",
            "4.0.0-rc.7",
            "4.0.0-rc.6",
            "4.0.0-rc.5",
            "4.0.0-rc.4",
            "4.0.0-rc.3",
            "4.0.0-rc.2",
            "4.0.0-rc.1",
            "4.0.0-beta.5.9",
            "4.0.0-beta.5.8",
            "4.0.0-beta.5.7",
            "4.0.0-beta.5.6",
            "4.0.0-beta.5.5",
            "4.0.0-beta.5.4",
            "4.0.0-beta.5.3",
            "4.0.0-beta.5.2",
            "4.0.0-beta.5.1",
            "4.0.0-beta.5",
            "4.0.0-beta.4.6",
            "4.0.0-beta.4.5",
            "4.0.0-beta.4.4",
            "4.0.0-beta.4.3",
            "4.0.0-beta.4.2",
            "4.0.0-beta.4.1",
            "4.0.0-beta.4",
            "4.0.0-beta.3.8",
            "4.0.0-beta.3.7",
            "4.0.0-beta.3.6",
            "4.0.0-beta.3.5",
            "4.0.0-beta.3.4",
            "4.0.0-beta.3.3",
            "4.0.0-beta.3.2",
            "4.0.0-beta.3.1",
            "4.0.0-beta.3",
            "4.0.0-beta.2.10",
            "4.0.0-beta.2.9",
            "4.0.0-beta.2.8",
            "4.0.0-beta.2.7",
            "4.0.0-beta.2.6",
            "4.0.0-beta.2.5",
            "4.0.0-beta.2.4",
            "4.0.0-beta.2.3",
            "4.0.0-beta.2.2",
            "4.0.0-beta.2.1",
            "4.0.0-beta.2",
            "4.0.0-beta.1.8",
            "4.0.0-beta.1.7",
            "4.0.0-beta.1.6",
            "4.0.0-beta.1.5",
            "4.0.0-beta.1.4",
            "4.0.0-beta.1.3",
            "4.0.0-beta.1.2",
            "4.0.0-beta.1.1",
            "4.0.0-beta.1",
            "4.0.0-alpha3",
            "1.0.0-alpha1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40219.json"
          }
        }
      ],
      "modified": "2026-10-24T02:47:30.930754196Z",
      "provider": "osv",
      "references": [
        "https://github.com/bolt/core",
        "https://github.com/bolt/core/blob/3b21a73ebf519b76756d3ad2841312d10ef11461/src/Controller/Frontend/TemplateController.php",
        "https://github.com/iiSiLvEr/CVEs/tree/main/CVE-2021-40219"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-40219",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 428167,
  "published_at": "2022-04-11T17:15:08.027+00:00"
}