Stored Cross-Site Scripting Vulnerability in Grav by GetGrav
CVE-2026-75834

5.1MEDIUM

Key Information:

Vendor

Getgrav

Status
Vendor
CVE Published:
18 August 2026

What is CVE-2026-75834?

Grav, prior to version 2.0.14, is susceptible to a stored cross-site scripting (XSS) vulnerability found in the Security::detectXss() function. This flaw originates because all XSS detection patterns utilize the PCRE /u modifier for UTF-8, causing any invalid UTF-8 byte in the content to lead preg_match() to fail universally, thereby bypassing essential XSS protection mechanisms during saving. An authenticated attacker, possessing page-edit privileges but lacking the security.xss_whitelist privilege, can exploit this vulnerability to inject malicious JavaScript into the page. The harmful script will execute in the browser of any user who views the compromised page, posing a significant risk to web security.

Affected Version(s)

grav 0 < 2.0.14

grav 2.0.14

References

CVSS V4

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

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

iaohkut-from-NightWolf-Team
.