Cross-Site Scripting Vulnerability in Grav by GetGrav
CVE-2026-86197

5.1MEDIUM

Key Information:

Vendor

Getgrav

Status
Vendor
CVE Published:
5 September 2026

What is CVE-2026-86197?

Grav prior to version 2.0.20 has a security vulnerability that allows for cross-site scripting via the Twig sandbox policy. The flaw permits page editors to register malicious JavaScript and CSS assets without adequate output escaping. Consequently, these scripts can be injected into the document head and executed for all website visitors, including administrators. This highlights the necessity for users to update to the latest version to safeguard against potential exploitation.

Affected Version(s)

grav 0 < 2.0.20

grav 2.0.20

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

skeletonsec
.