# Grav: detectXss() misses an event-handler attribute after an unpaired quote in an unquoted attribute value, giving stored XSS

Critical severity, published 2026-09-17. Update getgrav/grav to 2.0.15 or later: composer update getgrav/grav.

Canonical URL: https://buzzphp.com/security/ghsa-vfmf-q6x9-cw96 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical (CVSS 8.7) |
| Published | 2026-09-17 |
| Updated | 2026-09-17 |
| CVE | [CVE-2026-75828](https://nvd.nist.gov/vuln/detail/CVE-2026-75828) |
| GHSA | [GHSA-vfmf-q6x9-cw96](https://github.com/advisories/GHSA-vfmf-q6x9-cw96) |
| Weakness | CWE-79 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| getgrav/grav | <= 2.0.14 | 2.0.15 |

## What to do

Update getgrav/grav to 2.0.15 or later: composer update getgrav/grav.

Check which version you run with `composer show getgrav/grav`, and every affected package with `composer audit`.

## About this advisory

Affected versions and vulnerable location

- Confirmed on grav core at 78ebfc1 (tag 2.0.13). - Detector: system/src/Grav/Common/Security.php:290, the onevents regex, run via patternMatches() (:315-330). - The onevents pattern at HEAD: "'])?(?:[\s\x00-\x20"'/]|"[^"]"|'[^']')on\s[a-z]+\s=iu - Sole save-time guard for non-super content: Validation::checkSafety() (system/src/Grav/Common/Data/Validation.php:160 scalars, :165 arrays), invoked per field from BlueprintSchema::validate - Validation::checkSafety (system/src/Grav/Common/Data/BlueprintSchema.php:248). security.xsswhitelist: [admin.super] exempts only super-admins (Validation.php:148).

Root cause (distinct from GHSA-269c)



## Links

- [GHSA-vfmf-q6x9-cw96 on GitHub](https://github.com/advisories/GHSA-vfmf-q6x9-cw96)
- [CVE-2026-75828 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-75828)
- [All Composer security advisories](https://buzzphp.com/security)
