CVE-2026-42612
Grav: Publisher-Level Stored XSS via Unquoted Event Attributes
MEDIUM 5.4EPSS 0.3%
Grav is a file-based Web platform. Prior to 2.0.0-beta.2, a stored Cross-Site Scripting (XSS) vulnerability in getgrav/grav allows publisher-level accounts to execute arbitrary JavaScript. The issue arises from a blacklist bypass in the detectXss() function when handling unquoted HTML event attributes. This vulnerability is fixed in 2.0.0-beta.2.
- Affected
- getgrav · grav
- CVSS v3.1 NVD
- 5.4 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS v3.1 GITHUB
- 8.5 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N - EPSS
- 0.27% chance of exploitation in the next 30 days, 19th percentile
- Published
- 2026-05-11
Proof-of-concept exploits (1)
Security advisories
- getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5q
- getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663