Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Getgrav | Grav | <= 1.8.0 |
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663Patch
- https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5qExploitPatchVendor Advisory
- https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5qExploitPatchVendor Advisory
FAQ
What is CVE-2026-42612?
CVE-2026-42612 is a vulnerability with a CVSS score of 8.5 (HIGH). 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 a...
How severe is CVE-2026-42612?
CVE-2026-42612 has been rated HIGH with a CVSS base score of 8.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42612?
Check the references section above for vendor advisories and patch information. Affected products include: Getgrav Grav.