CVE-2026-64628: Grav Stored Cross-Site Scripting via Shortcode Attribute Handlers

Published Jul 21, 2026
·
Updated

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.

Affected Software

1 affected component
Grav Grav

Event History

Jul 21, 2026
CVE Published
via MITRE·11:39 AM
Data Sourced
via MITRE·11:39 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:19 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64628?

The severity of CVE-2026-64628 is medium, with a score of 5.4.

2

What type of vulnerability is identified in CVE-2026-64628?

CVE-2026-64628 is a stored cross-site scripting (XSS) vulnerability.

3

How can an attacker exploit CVE-2026-64628?

An attacker with admin.pages permission can inject malicious JavaScript through shortcode parameters that bypass XSS validation.

4

How do I fix CVE-2026-64628?

To fix CVE-2026-64628, ensure that all shortcode parameters are properly validated and sanitize user input to prevent injection.

5

Which software is affected by CVE-2026-64628?

CVE-2026-64628 affects the Grav content management system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203