Live threats

All CVEs / Getgrav

CVE-2026-42612Getgrav Grav

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
—
Auth required
Yes
Published
May 11, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grav.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist getgrav/grav < 2.0.0-beta.2 2.0.0-beta.2 composer require "getgrav/grav:^2.0.0-beta.2"

Per OSV / GitHub Advisories (GHSA-9695-8fr9-hw5q). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
getgravgrav≤ 1.8.0
getgravgrav2.0.0

Official sources

References

Links published by the sources. Open them with care.