CVE-2026-42612
Last modified
CVE-2026-42612 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Getgrav | Grav | <= 1.8.0 | — |
| Getgrav | Grav | 2.0.0 | Beta1 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5qExploit, Patch, Vendor Advisory
- https://github.com/getgrav/grav/security/advisories/GHSA-9695-8fr9-hw5qExploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42612?
How severe is CVE-2026-42612?
How do I fix CVE-2026-42612?
Are you affected by CVE-2026-42612?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
