All vulnerabilities

Servers and applications

GHSA-5qv7-9gjc-4vfh

Editor-authored Twig can disclose the Clockwork debugger token

Severity
High
Published
23 Sept 2026
Last changed
23 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.1.7
Weakness
Information exposure (CWE-200)
Sources
Project advisories (GitHub)

Description

Editor-authored Twig can read the configured Clockwork debugger token because the sandbox configuration redaction list omits system.debugger.token.

Sandboxed page and string renders receive filtered configuration arrays. The omitted value can be rendered with {{ system.debugger.token }} and the same value is accepted as X-Clockwork-Auth for remote profiler reads.

A page editor can disclose an operator credential and read profiler records containing system and plugin configuration, request metadata, and database queries. This crosses the editor-to-operator boundary.

From getgrav/grav's security advisory.

Affected software

SoftwareAffected versions
GravServers and applications · github:getgrav/grav
  • From 2.0.22 before 2.1.7

About Grav

free software content management system written in PHP

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
1,748Packagist, 15 Nov 2026
Total downloads (Packagist)
92,444Packagist, 15 Nov 2026
GitHub stars
15,725GitHub, 15 Nov 2026
Forks
1,430GitHub, 15 Nov 2026
Latest release
2.2.29GitHub, 15 Nov 2026
Released
11 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
2 Aug 2014GitHub

References