Improper Encoding or Escaping of Output in Grav CMS - #VU170989

 

Improper Encoding or Escaping of Output in Grav CMS - #VU170989

Published: November 30, 2026


Vulnerability identifier: #VU170989
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-116
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to bypass output escaping and potentially inject active content into a page.

The vulnerability exists due to improper enforcement of escaping rules in the Twig content sandbox when rendering page-authored templates. A remote user can control escaping from page content to cause markup to be rendered without the intended encoding.


Affected software

Grav CMS

Remediation

Install security update from vendor's website.

Grav CMS - update to 2.2.18

External References

Related Security Bulletins