Skip to main content
VulnerabilityPublished

CVE-2026-42612: getgrav grav · Cross-site Scripting

Affects getgrav gravSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.5 High : upgrade to 2.0.0-beta.2 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0.0-beta.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade getgrav grav to 2.0.0-beta.2.

Affected software

ProductAffectedFixed in
getgravgravAffected
  • <2.0.0-beta.2
Fixed in
  • 2.0.0-beta.2
GitHubgetgrav/gravpkg:github/getgrav/gravOther threatsAffected
  • =2.0.0-beta.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Grav to version 2.0.0-beta.2 or later, where this vulnerability is fixed. Until upgraded, restrict publisher-level account privileges and monitor for suspicious activity related to script injection attempts.

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.

References

Community reviews

Loading reviews…