CVE-2026-75834

published 18 Aug 2026 · updated 8 Oct 2026

Grav before 2.0.14 Stored XSS via Invalid UTF-8 Byte

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.0.14.

Grav before 2.0.14 contains a stored cross-site scripting vulnerability in the Security::detectXss() function (system/src/Grav/Common/Security.php). All XSS detection patterns use the PCRE /u (UTF-8) modifier, so a single invalid UTF-8 byte anywhere in page content causes preg_match() to return false for every pattern, silently bypassing the save-time XSS safety gate (Validation::checkSafety()). An authenticated attacker with page-edit permissions (without the security.xss_whitelist privilege) can store malicious JavaScript that executes in the browser of a visitor who views the affected page.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
getgrav<2.0.142.0.14

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-75834 severity on Zeptric[![CVE-2026-75834](https://zeptric.io/badge/cve/CVE-2026-75834.svg)](https://zeptric.io/cve/CVE-2026-75834)