# CVE-2026-75834: Grav before 2.0.14 Stored XSS via Invalid UTF-8 Byte

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 10% of CVEs (2026-11-30)
- Published: 2026-08-18T11:19:45.094Z
- Modified: 2026-10-22T22:10:00.250Z
- Also known as: GHSA-q2j8-x8hf-63ch
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- getgrav grav: before 2.0.14 (not affected: 2.0.14)
- getgrav/grav (Packagist): before 2.0.14

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-q2j8-x8hf-63ch> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/grav-before-stored-xss-via-invalid-utf-8-byte> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-75834> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2026-75834](https://www.cve.org/CVERecord?id=CVE-2026-75834), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-q2j8-x8hf-63ch](https://github.com/advisories/GHSA-q2j8-x8hf-63ch), CC-BY-4.0, modified 2026-09-17
- NVD: [CVE-2026-75834](https://nvd.nist.gov/vuln/detail/CVE-2026-75834), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-75834 · Whole record: https://cve.day/CVE-2026-75834.json · Rebuilt by cve.day 2026-11-25T22:59:33.439Z
