CVE-2026-42612: Grav is a file-based Web platform
CVE-2026-42612 is a high-severity flaw (CVSS 8.5) affecting grav. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 85%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-05-11 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42612?
grav: upgrade to newer than 1.8.0. Exact commands for each OS are on this page.
Is CVE-2026-42612 being exploited?
CVE-2026-42612 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42612 affect?
CVE-2026-42612 affects grav. Severity is high (CVSS 8.5). 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 det
How urgent is CVE-2026-42612?
Priority 38/100. High severity; Public exploit reference
Related CVEs
- CVE-2026-42608 CRITICAL 9.1 UPGRADE Grav is a file-based Web platform
- CVE-2026-42609 HIGH 8.1 UPGRADE Grav is a file-based Web platform
- CVE-2026-42611 HIGH 8.9 UPGRADE Grav is a file-based Web platform
- CVE-2026-44738 HIGH 7.7 UPGRADE Grav is a file-based Web platform
- CVE-2026-42610 MEDIUM 6.5 UPGRADE Grav is a file-based Web platform