Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42612: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav

0
High
VulnerabilityCVE-2026-42612cvecve-2026-42612cwe-79
Published: Mon May 11 2026 (05/11/2026, 15:22:00 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: 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

AILast updated: 05/11/2026, 15:52:36 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses