NetSight
high6.5No CVE yet

GHSA-mw85-cjh9-8hp7

Duplicate Advisory: Grav: The system, site, and theme Twig variables bypass the content sandbox entirely and are never covered by config_denied_paths

Impact

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-p597-crqc-m349. This link is maintained to preserve external references. ### Original Description Grav CMS before 2.0.16 fails to filter system, site, and theme configuration arrays in sandboxed Twig renders, allowing content editors to read sensitive configuration values. Attackers with page-content edit access can access raw configuration arrays including secrets like cache credentials by using dot notation in Twig templates, bypassing the config_denied_paths restrictions.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.

Affected packages

EcosystemPackageAffectedFixed in
composergetgrav/grav< 2.0.16none recorded

Weakness classification

References