CVE-2018-20465

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.

Severity
HIGH
CVSS v3
7.2
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
1.527%
chance of exploitation in the next 30 days
higher than 75.2% of scored CVEs · 2026-11-18
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2018-12-25Published by the CNA23:00 UTC
  2. 2022-05-13GitHub advisory published (GHSA-j7fx-v37j-v3w7)1235 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-j7fx-v37j-v3w7, affected packages:

PackageVulnerable versionsFixed in
Packagist craftcms/cmsthrough 3.0.34

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
craftcms craft_cmsthrough 3.0.34no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources