What’s Vulnerable › Vulnerabilities
CVE-2026-42612: Grav: Publisher-Level Stored XSS via Unquoted Event Attributes
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-05-11 · updated 2026-10-26
- Weakness: CWE-79
Description
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 products
- getgrav grav: through 1.8.0; 2.0.0-beta1
References
- https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663
- https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5q
- https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5q
Get alerted when CVE-2026-42612 or the next vulnerability affects your stack