CVE-2026-86197

MEDIUM CVSS 4.0: 5.1 EPSS 0.26%
Updated Sep 10, 2026
Grav
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions before 2.0.20
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Grav
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0