CVE-2026-64628

Medium

Description

Grav contains a stored cross-site scripting vulnerability in shortcode-core attribute handlers where the XSS detection scan only matches payloads containing literal angle brackets, allowing shortcode parameters to bypass validation. Attackers with admin.pages permission can inject malicious JavaScript through shortcode attributes that execute in any viewer's browser, including administrators, enabling session hijacking via admin nonce theft.

SeverityMedium
CVSS5.4
Exploit probability—
ProductGrav
PublishedJul 21, 2026
First seenJul 21, 2026

How to fix

Affected products

ProductAffected versionsFixed in
getgrav gravv ≤ 6.2.1—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-64628 · Grav · Dark Radar