Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-86197
VULNERABILITY

CVE-2026-86197

Common Vulnerabilities and Exposures record

MEDIUM

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 rendered unescaped into document head tags and executed for all visitors including administrators.

Risk

CVSS
5.1
Severity
MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Sep 5, 2026 13:18
Modified
Oct 8, 2026 16:17
Last observed
Oct 12, 2026 10:10

CWE

CWE-79

References