Description
Grav before 2.0.15 contains a stored cross-site scripting vulnerability in the detectXss() function where unpaired quotes in unquoted attribute values bypass event-handler detection. Authenticated editors can inject event handlers like onerror= that pass validation and execute in visitor browsers when page content is rendered.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav | < 2.0.15 | 2.0.15 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | getgrav/grav | < 2.0.15 | 2.0.15 | GHSA-vfmf-q6x9-cw96 |
References
- GitHub Security Advisory (GHSA-vfmf-q6x9-cw96) vendor-advisory
- VulnCheck Advisory: Grav before 2.0.15 Stored XSS via detectXss() Quote Bypass third-party-advisory