{"cve":"CVE-2018-20465","nvd":{"published":"2018-12-25T23:29:00.340","modified":"2026-06-17T01:52:53.887","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2},"cwes":["CWE-311"],"references":["https://github.com/craftcms/cms/blob/master/CHANGELOG-v3.md","https://github.com/phuctam/Server-Side-Template-Injection-in-CraftCMS-/issues/1","https://github.com/craftcms/cms/blob/master/CHANGELOG-v3.md","https://github.com/phuctam/Server-Side-Template-Injection-in-CraftCMS-/issues/1"],"products":["craftcms:craft_cms"],"source":"nvd","synced_at":"2026-10-19T20:54:36.112582389+00:00"},"epss":{"cve":"CVE-2018-20465","score":0.01527,"percentile":0.74712,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}