Skip to content
OpenAdvisories
High · 7.2 CVE-2018-20465 EUVD-2022-4303GHSA-j7fx-v37j-v3w7

Craft CMS Vulnerable to Server-Side Template Injection

Published Dec 25, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist craftcms/cms <= 3.0.34 — GHSA-j7fx-v37j-v3w7

References