{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-20465","published":"2018-12-25T23:29:00.340000Z","last_modified":"2026-06-17T01:52:53.887000Z","status":"Modified","cvss":{"version":"3.0","score":7.2,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-311"],"cpes":[{"criteria":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","part":"a","vendor":"craftcms","product":"craft_cms","version_end_including":"3.0.34"}],"cpes_truncated":false,"vendors":["craftcms"],"products":["craftcms/craft_cms"],"epss":{"score":0.01527,"percentile":0.75053,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-j7fx-v37j-v3w7","ecosystem":"Packagist","name":"craftcms/cms","purl":"pkg:composer/craftcms/cms","ranges":[{"introduced":"0","last_affected":"3.0.34"}],"versions":["2.6.2949","2.6.2950","2.6.2951","2.6.2952","2.6.2953","2.6.2954","2.6.2955","2.6.2956","2.6.2957","2.6.2958","2.6.2959","2.6.2960","2.6.2961","2.6.2962","2.6.2963","2.6.2964","2.6.2965","2.6.2966","2.6.2967","2.6.2968","2.6.2969","2.6.2970","2.6.2971","2.6.2972","2.6.2973","2.6.2974","2.6.2975","2.6.2976","2.6.2977","2.6.2978","2.6.2979","2.6.2980","2.6.2981","2.6.2982","2.6.2983","2.6.2984","2.6.2985","2.6.2986","2.6.2987","2.6.2988","2.6.2989","2.6.2990","2.6.2991","2.6.2992","2.6.2993","2.6.2994","2.6.2995","2.6.2996","2.6.2997","2.6.2998","2.6.2999","2.6.3000","2.6.3001","2.6.3002","2.6.3003","2.6.3004","2.6.3005","2.6.3006","2.6.3007","2.6.3008","2.6.3009","2.6.3010","2.6.3011","2.6.3012","2.6.3013","2.6.3014","2.6.3015","2.6.3016","2.6.3017","2.6.3018","2.6.3019","2.7.0","2.7.0-beta.2","2.7.0.1","2.7.1","2.7.10","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.7.7.1","2.7.7.2","2.7.7.3","2.7.8","2.7.9","2.8.0","2.8.0.1","2.8.0.2","2.9.0","2.9.1","2.9.2","3.0.0","3.0.0-RC1","3.0.0-RC10","3.0.0-RC10.1","3.0.0-RC11","3.0.0-RC12","3.0.0-RC13","3.0.0-RC14","3.0.0-RC15","3.0.0-RC16","3.0.0-RC16.1","3.0.0-RC17","3.0.0-RC17.1","3.0.0-RC2","3.0.0-RC3","3.0.0-RC4","3.0.0-RC5","3.0.0-RC6","3.0.0-RC7","3.0.0-RC7.1","3.0.0-RC8","3.0.0-RC9","3.0.0-beta.1","3.0.0-beta.10","3.0.0-beta.11","3.0.0-beta.12","3.0.0-beta.13","3.0.0-beta.14","3.0.0-beta.15","3.0.0-beta.16","3.0.0-beta.17","3.0.0-beta.18","3.0.0-beta.19","3.0.0-beta.2","3.0.0-beta.20","3.0.0-beta.21","3.0.0-beta.22","3.0.0-beta.23","3.0.0-beta.24","3.0.0-beta.25","3.0.0-beta.26","3.0.0-beta.27","3.0.0-beta.28","3.0.0-beta.29","3.0.0-beta.3","3.0.0-beta.30","3.0.0-beta.31","3.0.0-beta.32","3.0.0-beta.33","3.0.0-beta.34","3.0.0-beta.35","3.0.0-beta.36","3.0.0-beta.4","3.0.0-beta.5","3.0.0-beta.6","3.0.0-beta.7","3.0.0-beta.8","3.0.0-beta.9","3.0.0.1","3.0.0.2","3.0.1","3.0.10","3.0.10.1","3.0.10.2","3.0.10.3","3.0.11","3.0.12","3.0.13","3.0.13.1","3.0.13.2","3.0.14","3.0.15","3.0.16","3.0.16.1","3.0.17","3.0.17.1","3.0.18","3.0.19","3.0.2","3.0.20","3.0.21","3.0.22","3.0.23","3.0.23.1","3.0.24","3.0.25","3.0.26","3.0.26.1","3.0.27","3.0.27.1","3.0.28","3.0.29","3.0.3","3.0.3.1","3.0.30","3.0.30.1","3.0.30.2","3.0.31","3.0.32","3.0.33","3.0.34","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9"],"versions_truncated":false}],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2018-20465/","html_en":"/en/cve/CVE-2018-20465/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20465","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-20465"},"untrusted":{"vendor_name":"Craftcms","product_name":"Craft Cms","desc_en":"Craft CMS through 3.0.34 allows remote authenticated administrators to read sensitive information via server-side template injection, as demonstrated by a {% string for craft.app.config.DB.user and craft.app.config.DB.password in the URI Format of the Site Settings, which causes a cleartext username and password to be displayed in a URI field.","affected":[],"references":[{"url":"https://github.com/craftcms/cms/blob/master/CHANGELOG-v3.md","tags":["Release Notes"]},{"url":"https://github.com/phuctam/Server-Side-Template-Injection-in-CraftCMS-/issues/1","tags":["Exploit","Third Party Advisory"]}]}}