A AegiFlow
MEDIUMCVSS 5.1EPSS 0.2%

CVE-2026-75834

CVE-2026-75834 updated by NVD

Published
2026-09-17
Modified
2026-09-17
EPSS percentile
8%
Sources
github-advisory, nvd

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
Packagistgetgrav/grav2.0.14

Remediation: Upgrade to 2.0.14 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.