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.
Severity (CVSS)
| Base score | 9.3 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | 0 to <2.0.15; 2.0.15 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-vfmf-q6x9-cw96 (vendor-advisory)
- https://www.vulncheck.com/advisories/grav-before-stored-xss-via-detectxss-quote-bypass (third-party-advisory)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.