CVE-2018-3814
HIGH 8.8CVSS 3.0Craft 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:2.6.3000:*:*:*:*:*:*:* |
= 2.6.3000 | |
| OSV | Packagist | craftcms/cms | <= 2.6.3000 |
References
- https://github.com/Snowty/myCVE/blob/master/CraftCMS-2.6.3000/README.md · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-3814 · ADVISORY
- https://github.com/craftcms/cms · PACKAGE
- https://web.archive.org/web/20170612231205/http://0day5.com/archives/4122 · WEB
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)