CVE-2018-20465
Craft CMS Vulnerable to Server-Side Template Injection
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.2
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.
- Record
CVE-2018-20465- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:P/I:N/A:N - Weakness
- CWE-311
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-20465- Updated
- 2026-11-02
EUVDEUVD-2022-4303 No score
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.
- Record
EUVD-2022-4303- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j7fx-v37j-v3w7
7.2
Craft CMS Vulnerable to Server-Side Template Injection
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.
- Record
GHSA-j7fx-v37j-v3w7- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-311, CWE-1336
- Updated
- 2026-11-02
OSV
7.2
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.
- Record
CVE-2018-20465- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-j7fx-v37j-v3w7
7.2
Craft CMS Vulnerable to Server-Side Template Injection
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.
- Record
GHSA-j7fx-v37j-v3w7- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1336, CWE-311
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
craftcms/cmsPackagist |
through 3.0.34 | None known |
craftcms/cmsPackagist |
through 3.0.34, plus listed versions 1.0.26.11.2.0-alpha.23101.2.0-alpha.23121.2.0-alpha.23161.2.0-alpha.2318 Show 45 moreShow less1.2.0-alpha.23191.2.0-alpha.23221.2.0-alpha.23231.2.0-alpha.23241.2.0-alpha.23281.2.0-alpha.23291.2.0-alpha.23321.2.23331.2.23351.2.23361.2.23371.2.23391.2.23581.2.23631.2.23671.2.23711.2.23751.2.23871.2.23921.2.23961.2.23991.3.0-alpha.23611.3.0-alpha.23661.3.0-alpha.23721.3.0-alpha.23741.3.0-alpha.23771.3.0-alpha.23781.3.0-alpha.23801.3.0-alpha.23881.3.0-alpha.23941.3.0-alpha.23971.3.0-alpha.24011.3.0-alpha.24021.3.0-alpha.24051.3.0-alpha.24641.3.24091.3.24101.3.24151.3.24161.3.24181.3.24191.3.24201.3.24221.3.24561.3.2459 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-20465 is a high vulnerability (CVSS 7.2) in Craftcms Craft Cms, published December 25, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.53%, the 74th percentile. No source names a fixed version.
References
Left out here: 400 versions. The JSON record has them.