CVE-2018-20465
mediumpriority · track · 30OT risk · elevatedEPSS 0.015 · 75 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4–7.2
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-j7fx-v37j-v3w7Craft CMS Vulnerable to Server-Side Template Injection2022-05-13ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/craftcms/cms/blob/master/CHANGELOG-v3.mdcnnvd
- https://github.com/phuctam/Server-Side-Template-Injection-in-CraftCMS-/issues/1cnnvd
- https://github.com/craftcms/cms/blob/master/CHANGELOG-v3.mdenisa_euvd
- https://github.com/phuctam/Server-Side-Template-Injection-in-CraftCMS-/issues/1enisa_euvd
- https://github.com/craftcms/cms/blob/master/CHANGELOG-v3.mdRelease Notesnvd
- https://github.com/phuctam/Server-Side-Template-Injection-in-CraftCMS-/issues/1ExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan