{"id":"CVE-2026-75834","published":"2026-08-18T11:19:45Z","modified":"2026-10-08T15:24:58Z","title":"Grav before 2.0.14 Stored XSS via Invalid UTF-8 Byte","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00255,"percentile":0.17394,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-q2j8-x8hf-63ch","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-before-stored-xss-via-invalid-utf-8-byte","tags":["third-party-advisory"]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":3.48},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 2.0.14"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["2.0.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-18T12:51:15.491121Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<2.0.14"],"patched":["2.0.14"],"from":["GHSA-q2j8-x8hf-63ch"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-60598","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-69089","published":"2026-08-03","fixed":"2.0.11","kev":false},{"cve":"CVE-2026-72819","published":"2026-08-14","fixed":"2.0.13","kev":false,"link":{"from":"CVE-2026-72819","to":"CVE-2026-75834","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:getgrav/grav","fromFixed":"2.0.13","toFixed":"2.0.14","daysApart":4}]}},{"cve":"CVE-2026-72832","published":"2026-08-14","fixed":"2.0.13","kev":false},{"cve":"CVE-2026-75834","published":"2026-08-18","fixed":"2.0.14","kev":false},{"cve":"CVE-2026-75837","published":"2026-08-18","fixed":"2.0.14","kev":false},{"cve":"CVE-2026-74907","published":"2026-08-18","fixed":"2.0.15","kev":false},{"cve":"CVE-2026-75827","published":"2026-08-18","fixed":"2.0.15","kev":false}],"package":"Packagist:getgrav/grav"}}