Security mailing lists by PureSourceCode

CVE-2018-3814

HIGH 8.8CVSS 3.0

Craft CMS PHP Code Injection Vulnerability

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.

Published
1 Jan 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-434
Also known as
GHSA-r342-vjc4-wrmj
Sources
NVDJSONOSV GHSA-r342-vjc4-wrmjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:2.6.3000:*:*:*:*:*:*:*
= 2.6.3000
OSV Packagist craftcms/cms <= 2.6.3000

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 1 Jan 2018)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.