Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-37626

Contao is an open source CMS that allows you to create websites and scalable web applications. In affected versions it is possible to load PHP files by entering insert tags in the Contao back end. Installations are only affected if they have untrusted back end users who have the rights to modify fields that are shown in the front end. Update to Contao 4.4.56, 4.9.18 or 4.11.7 to resolve. If you cannot update then disable the login for untrusted back end users.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-37626
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:50 UTC · Revision 1

Source evidence

CVE-2021-37626

core-osv · Original source

Published 11 Aug 2021, 23:15 UTC

Contao is an open source CMS that allows you to create websites and scalable web applications. In affected versions it is possible to load PHP files by entering insert tags in the Contao back end. Installations are only affected if they have untrusted back end users who have the rights to modify fields that are shown in the front end. Update to Contao 4.4.56, 4.9.18 or 4.11.7 to resolve. If you cannot update then disable the login for untrusted back end users.

osv:CVE-2021-37626
Complete source record
{
  "id": "8f5ade15760f41e403d1a8f21ec168253e66deff722446b9ccbe4e3d52e4024b",
  "url": "https://osv.dev/vulnerability/CVE-2021-37626",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-37626",
    "summary": "Contao is an open source CMS that allows you to create websites and scalable web applications. In affected versions it is possible to load PHP files by entering insert tags in the Contao back end. Installations are only affected if they have untrusted back end users who have the rights to modify fields that are shown in the front end. Update to Contao 4.4.56, 4.9.18 or 4.11.7 to resolve. If you cannot update then disable the login for untrusted back end users.",
    "evidence": "osv:CVE-2021-37626",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-37626",
      "aliases": [
        "CVE-2021-37626",
        "GHSA-r6mv-ppjc-4hgr"
      ],
      "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/contao/contao",
              "type": "GIT",
              "events": [
                {
                  "introduced": "da8a867d8335c4ca55e5085dac11f1fecd12650e"
                },
                {
                  "fixed": "d4b1299fa180b522613a78cd9b192c3ccdb28448"
                },
                {
                  "introduced": "23899ad910aa057494cce4517015aa31faa37f11"
                },
                {
                  "fixed": "1a1e7bb2050f08b2814de68efae4f11c3256c853"
                },
                {
                  "introduced": "9fc3041d7833e35c8a3812ca0954a857b24441fd"
                },
                {
                  "fixed": "7715fdfd3d1dda3ec1e3d9a02a2bd535983ac7fc"
                },
                {
                  "introduced": "84b2fe637d5ead531f117f26b48d1b9de8df4074"
                },
                {
                  "last_affected": "5a25b1d689ffde95a00427bdfde03695a2c645c3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.4.0"
                      },
                      {
                        "fixed": "4.4.56"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.9.0"
                      },
                      {
                        "fixed": "4.9.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.11.0"
                      },
                      {
                        "fixed": "4.11.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:4.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "last_affected": "4.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:4.1.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.1.0"
                      },
                      {
                        "last_affected": "4.1.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:4.2.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.2.0"
                      },
                      {
                        "last_affected": "4.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:4.3.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.3.0"
                      },
                      {
                        "last_affected": "4.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:4.5.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.0"
                      },
                      {
                        "last_affected": "4.5.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:4.6.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.6.0"
                      },
                      {
                        "last_affected": "4.6.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:4.7.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.7.0"
                      },
                      {
                        "last_affected": "4.7.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:4.8.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.8.0"
                      },
                      {
                        "last_affected": "4.8.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:4.10.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.10.0"
                      },
                      {
                        "last_affected": "4.10.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.0",
            "4.1.0",
            "4.10.0",
            "4.2.0",
            "4.3.0",
            "4.5.0",
            "4.6.0",
            "4.7.0",
            "4.8.0",
            "4.11.6",
            "4.9.17",
            "4.11.4",
            "4.9.15",
            "4.9.14",
            "4.11.3",
            "4.9.13",
            "4.11.2",
            "4.11.1",
            "4.9.12",
            "4.11.0",
            "4.9.11",
            "4.9.10",
            "4.9.9",
            "4.9.8",
            "4.9.7",
            "4.9.6",
            "4.9.5",
            "4.9.4",
            "4.9.3",
            "4.9.2",
            "4.9.1",
            "4.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-37626.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:49.577613547Z",
      "provider": "osv",
      "references": [
        "https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html",
        "https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-37626",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386222,
  "published_at": "2021-08-11T23:15:07.75+00:00"
}