CVEvulnerability
CVE-2026-42612
5.4 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-05-11
- Last modified
- 2026-10-26
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- 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 configurations
• getgrav grav (<= 1.8.0)
• getgrav grav 2.0.0
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663 Patch
- https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5q Exploit, Patch, Vendor Advisory
- https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5q Exploit, Patch, Vendor Advisory