MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-86197

Grav before 2.0.20 Cross-Site Scripting via Assets Sandbox

Not on CISA KEVCVSS 5.1 (v4.0)
  • Overview

Summary

Grav before 2.0.20 contains a cross-site scripting vulnerability in the Twig sandbox policy that allowlists addJs and addCss methods on Grav\Common\Assets without proper output escaping. Page editors can inject arbitrary script by registering malicious assets or injecting attributes, which are

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)