CVE-2026-42612: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav
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.
AI Analysis
Technical Summary
Grav, a file-based web platform, contained a stored XSS vulnerability (CWE-79) in versions before 2.0.0-beta.2. The vulnerability arises from improper neutralization of input during web page generation, specifically a blacklist bypass in the detectXss() function when handling unquoted HTML event attributes. This flaw allows users with publisher-level privileges to inject and execute arbitrary JavaScript code. The vulnerability is addressed in version 2.0.0-beta.2 of Grav.
Potential Impact
Successful exploitation allows an attacker with publisher-level access to execute arbitrary JavaScript in the context of the affected web application, potentially leading to session hijacking, data theft, or other client-side attacks. The CVSS score of 8.5 indicates high impact on confidentiality and limited impact on integrity, with no impact on availability. No known exploits have been observed in the wild.
Mitigation Recommendations
Upgrade Grav to version 2.0.0-beta.2 or later, where this vulnerability is fixed. Since no official patch links or vendor advisories are provided, confirm the upgrade path with the official Grav project resources. Until upgraded, restrict publisher-level account privileges and monitor for suspicious activity related to script injection attempts.
CVE-2026-42612: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Grav, a file-based web platform, contained a stored XSS vulnerability (CWE-79) in versions before 2.0.0-beta.2. The vulnerability arises from improper neutralization of input during web page generation, specifically a blacklist bypass in the detectXss() function when handling unquoted HTML event attributes. This flaw allows users with publisher-level privileges to inject and execute arbitrary JavaScript code. The vulnerability is addressed in version 2.0.0-beta.2 of Grav.
Potential Impact
Successful exploitation allows an attacker with publisher-level access to execute arbitrary JavaScript in the context of the affected web application, potentially leading to session hijacking, data theft, or other client-side attacks. The CVSS score of 8.5 indicates high impact on confidentiality and limited impact on integrity, with no impact on availability. No known exploits have been observed in the wild.
Mitigation Recommendations
Upgrade Grav to version 2.0.0-beta.2 or later, where this vulnerability is fixed. Since no official patch links or vendor advisories are provided, confirm the upgrade path with the official Grav project resources. Until upgraded, restrict publisher-level account privileges and monitor for suspicious activity related to script injection attempts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-29T00:31:15.726Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a01f792cbff5d86102f20e0
Added to database: 5/11/2026, 3:36:50 PM
Last enriched: 5/11/2026, 3:52:36 PM
Last updated: 5/12/2026, 3:48:28 AM
Views: 40
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.