Vulnerability

CVE-2026-75834

mediumCVSS 4.0 5.1Published 18 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /getgrav/grav/security/advisories/GHSA-q2j8-x8hf-63ch
  • www.vulncheck.com /advisories/grav-before-stored-xss-via-invalid-utf-8-byte

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning