Skip to main content

Grav CMS EUVDEUVD-2026-46181

| CVE-2026-64628 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-21 VulnCheck GHSA-r7ww-mw2x-mj59
5.1
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.4 MEDIUM

Network-reachable stored XSS; low privileges (admin.pages); passive viewer required; scope changes to victim browser; low C and I for session/nonce impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
P
Scope
X

Lifecycle Timeline

1
Analysis Generated
Jul 21, 2026 - 12:31 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Stored XSS in Grav CMS shortcode-core attribute handlers allows authenticated users with admin.pages permission to inject persistent JavaScript payloads that bypass the CMS's XSS detection filter and execute in any visitor's browser. The filter flaw is root-cause critical: it only flags payloads containing literal angle brackets, leaving event-handler and attribute-based injection vectors entirely unblocked. When an administrator views an affected page, the injected script can steal admin session nonces, enabling full account takeover. No public exploit code or CISA KEV listing has been identified at time of analysis, but the impact chain - from low-privilege content editor to admin session hijack - is straightforward.

Technical ContextAI

Grav is a flat-file PHP CMS. The shortcode-core plugin provides a templating shortcode syntax that allows page authors to embed rich content via bracketed parameters. The attribute handlers in shortcode-core parse and render user-supplied parameter values into HTML output. The CWE-79 root cause is an incomplete input sanitization strategy: the XSS scan relies on detecting literal '<' or '>' characters in attribute values, which blocks only the most naive payloads (e.g., <script>) while leaving event-handler injections (e.g., onmouseover=fetch(...)) and other bracket-free payloads unexamined. The affected CPE is cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* - no version ceiling is specified in the available intelligence, meaning all tracked Grav versions are potentially affected until a patched release is confirmed.

RemediationAI

Consult the vendor's GitHub Security Advisory at https://github.com/getgrav/grav/security/advisories/GHSA-q5fw-vpqc-fgph for the specific patched version - an exact fixed release version was not independently confirmed in the available intelligence, so the advisory is the authoritative source. Until a patch is applied, the most effective compensating control is to revoke or tightly restrict the admin.pages permission to only fully trusted users, since this permission is the sole prerequisite for exploitation. Disabling the shortcode-core plugin entirely removes the attack surface but will break any pages relying on shortcode syntax. Deploying a Content Security Policy (CSP) header that disallows inline scripts (script-src 'self') reduces the impact of any injected payload, though CSP configuration must be tested against legitimate Grav functionality to avoid breakage. Generic WAF rules that block angle brackets in request bodies will not mitigate this vulnerability, as the bypass specifically avoids angle brackets.

More in Grav

View all
CVE-2025-66294 HIGH POC
8.8 Dec 01

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a Server-Side Template Injection (SSTI) vulnerability exists

CVE-2025-66301 CRITICAL POC
9.6 Dec 01

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, due to improper authorization checks when modifying critical

CVE-2025-50286 HIGH POC
8.1 Aug 06

A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug

CVE-2024-34082 CRITICAL POC
9.9 May 15

Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a

CVE-2021-47812 CRITICAL POC
9.8 Jan 16

GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv

CVE-2025-66297 HIGH POC
8.8 Dec 01

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a user with admin panel access and permissions to create or e

CVE-2025-66299 HIGH POC
8.8 Dec 01

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S

CVE-2024-28119 HIGH POC
8.8 Mar 21

Grav is an open-source, flat-file content management system. Rated high severity (CVSS 8.8), this vulnerability is remot

CVE-2024-28118 HIGH POC
8.8 Mar 21

Grav is an open-source, flat-file content management system. Rated high severity (CVSS 8.8), this vulnerability is remot

CVE-2024-28117 HIGH POC
8.8 Mar 21

Grav is an open-source, flat-file content management system. Rated high severity (CVSS 8.8), this vulnerability is remot

CVE-2024-28116 HIGH POC
8.8 Mar 21

Grav is an open-source, flat-file content management system. Rated high severity (CVSS 8.8), this vulnerability is remot

CVE-2024-27921 HIGH POC
8.8 Mar 21

Grav is an open-source, flat-file content management system. Rated high severity (CVSS 8.8), this vulnerability is remot

Share

EUVD-2026-46181 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy