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 rating with a CVSS score of 5.1. No patch or official remediation has been indicated yet.
AI Analysis
Technical Summary
CVE-2026-64628 describes a stored cross-site scripting vulnerability in the Grav CMS shortcode-core attribute handlers. The XSS detection mechanism is insufficient as it only detects payloads containing literal angle brackets, enabling attackers to craft shortcode parameters that bypass this validation. An attacker with admin.pages permission can inject malicious JavaScript code into shortcode attributes, which executes in the browsers of any users viewing the affected content, including administrators. This can lead to session hijacking through theft of admin nonces. The vulnerability is rated medium severity with a CVSS 4.0 score of 5.1. No official fix or patch has been documented as of the published date.
Potential Impact
Successful exploitation allows an attacker with admin.pages permission to inject persistent malicious JavaScript into Grav pages via shortcode attributes. This script executes in the context of any user viewing the page, including administrators, potentially enabling session hijacking by stealing admin nonces. This compromises the confidentiality and integrity of administrative sessions. The vulnerability does not require user interaction beyond viewing the affected page and has a network attack vector with low attack complexity.
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 consider reviewing shortcode usage policies to limit exposure. Monitor vendor channels for updates and apply patches promptly once released.
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 rating with a CVSS score of 5.1. No patch or official remediation has been indicated yet.
CVSS v4.0
Score 5.1medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-64628 describes a stored cross-site scripting vulnerability in the Grav CMS shortcode-core attribute handlers. The XSS detection mechanism is insufficient as it only detects payloads containing literal angle brackets, enabling attackers to craft shortcode parameters that bypass this validation. An attacker with admin.pages permission can inject malicious JavaScript code into shortcode attributes, which executes in the browsers of any users viewing the affected content, including administrators. This can lead to session hijacking through theft of admin nonces. The vulnerability is rated medium severity with a CVSS 4.0 score of 5.1. No official fix or patch has been documented as of the published date.
Potential Impact
Successful exploitation allows an attacker with admin.pages permission to inject persistent malicious JavaScript into Grav pages via shortcode attributes. This script executes in the context of any user viewing the page, including administrators, potentially enabling session hijacking by stealing admin nonces. This compromises the confidentiality and integrity of administrative sessions. The vulnerability does not require user interaction beyond viewing the affected page and has a network attack vector with low attack complexity.
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 consider reviewing shortcode usage policies to limit exposure. Monitor vendor channels for updates and apply patches promptly once released.
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/30/2026, 04:20:38 UTC
Last updated: 08/31/2026, 22:52:13 UTC
Views: 63
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.