Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-3814

Craft CMS 2.6.3000 allows remote attackers to execute arbitrary PHP code by using the "Assets->Upload files" screen and then the "Replace it" option, because this allows a .jpg file to have embedded PHP code, and then be renamed to a .php extension.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-3814
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:48 UTC · Revision 1

Source evidence

CVE-2018-3814

core-osv · Original source

Published 1 Jan 2018, 20:29 UTC

Craft CMS 2.6.3000 allows remote attackers to execute arbitrary PHP code by using the "Assets->Upload files" screen and then the "Replace it" option, because this allows a .jpg file to have embedded PHP code, and then be renamed to a .php extension.

osv:CVE-2018-3814
Complete source record
{
  "id": "b984dc97872fb7863743a7ae5a8c43b135d9aa243b0211c5a4aa49f0af25032b",
  "url": "https://osv.dev/vulnerability/CVE-2018-3814",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-3814",
    "summary": "Craft CMS 2.6.3000 allows remote attackers to execute arbitrary PHP code by using the \"Assets->Upload files\" screen and then the \"Replace it\" option, because this allows a .jpg file to have embedded PHP code, and then be renamed to a .php extension.",
    "evidence": "osv:CVE-2018-3814",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-3814",
      "aliases": [
        "CVE-2018-3814",
        "GHSA-r342-vjc4-wrmj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/craftcms/cms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2455619b91aa025ad40ca650c04d13669f736b9e"
                },
                {
                  "last_affected": "2455619b91aa025ad40ca650c04d13669f736b9e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:craftcms:craft_cms:2.6.3000:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.6.3000"
                      },
                      {
                        "last_affected": "2.6.3000"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.6.3000"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-3814.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:44.549662718Z",
      "provider": "osv",
      "references": [
        "https://github.com/Snowty/myCVE/blob/master/CraftCMS-2.6.3000/README.md"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:craftcms:craft_cms:2.6.3000:*:*:*:*:*:*:*"
            ],
            "vendor_product": "craftcms:craft_cms",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.6.3000"
                  },
                  {
                    "last_affected": "2.6.3000"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-3814",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435925,
  "published_at": "2018-01-01T20:29:00.24+00:00"
}