CVE-2026-64628: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav
Grav CMS has a stored cross-site scripting (XSS) vulnerability in its shortcode-core attribute handlers. The vulnerability arises because the XSS detection only matches payloads with literal angle brackets, allowing malicious shortcode parameters to bypass validation. Attackers with admin.pages permission can inject JavaScript that executes in any viewer's browser, including administrators, potentially leading to session hijacking via admin nonce theft. The vulnerability has a medium severity score of 5.1. No patch or official remediation has been confirmed yet.
AI Analysis
Technical Summary
CVE-2026-64628 describes a stored XSS vulnerability in Grav CMS's shortcode-core attribute handlers. The issue is due to insufficient input neutralization during web page generation, where the XSS detection mechanism only detects payloads containing literal angle brackets. This limitation allows attackers with admin.pages permission to inject malicious JavaScript through shortcode attributes. The injected script executes in the context of any user viewing the affected page, including administrators, enabling session hijacking through theft of admin nonces. The vulnerability has a CVSS 4.0 base score of 5.1 (medium severity). There is no vendor advisory or patch information available at this time.
Potential Impact
Successful exploitation allows an attacker with admin.pages permission to inject persistent malicious JavaScript code that executes in the browsers of users viewing the affected pages, including administrators. This can lead to session hijacking by stealing admin nonces, compromising administrative control of the Grav CMS instance. The vulnerability does not require user interaction beyond viewing the affected content and has a network attack vector with low attack complexity and low privileges required (admin.pages permission).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict admin.pages permissions to trusted users only and monitor for suspicious shortcode usage. Avoid using untrusted input in shortcode attributes. Follow vendor updates closely for any forthcoming patches or official mitigations.
CVE-2026-64628: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav
Description
Grav CMS has a stored cross-site scripting (XSS) vulnerability in its shortcode-core attribute handlers. The vulnerability arises because the XSS detection only matches payloads with literal angle brackets, allowing malicious shortcode parameters to bypass validation. Attackers with admin.pages permission can inject JavaScript that executes in any viewer's browser, including administrators, potentially leading to session hijacking via admin nonce theft. The vulnerability has a medium severity score of 5.1. No patch or official remediation has been confirmed yet.
CVSS v4.0
Score 5.1medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-64628 describes a stored XSS vulnerability in Grav CMS's shortcode-core attribute handlers. The issue is due to insufficient input neutralization during web page generation, where the XSS detection mechanism only detects payloads containing literal angle brackets. This limitation allows attackers with admin.pages permission to inject malicious JavaScript through shortcode attributes. The injected script executes in the context of any user viewing the affected page, including administrators, enabling session hijacking through theft of admin nonces. The vulnerability has a CVSS 4.0 base score of 5.1 (medium severity). There is no vendor advisory or patch information available at this time.
Potential Impact
Successful exploitation allows an attacker with admin.pages permission to inject persistent malicious JavaScript code that executes in the browsers of users viewing the affected pages, including administrators. This can lead to session hijacking by stealing admin nonces, compromising administrative control of the Grav CMS instance. The vulnerability does not require user interaction beyond viewing the affected content and has a network attack vector with low attack complexity and low privileges required (admin.pages permission).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict admin.pages permissions to trusted users only and monitor for suspicious shortcode usage. Avoid using untrusted input in shortcode attributes. Follow vendor updates closely for any forthcoming patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-20T11:58:54.524Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5f622e2a4a8d598918bde5
Added to database: 07/21/2026, 12:12:30 UTC
Last enriched: 07/21/2026, 12:26:53 UTC
Last updated: 07/21/2026, 13:28:07 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.