CVE-2026-85598
Received Received - Intake

Grav CMS Stored XSS in Modular Pages

Vulnerability report for CVE-2026-85598, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-04

Last updated on: 2026-09-04

Assigner: VulnCheck

Description

Grav versions 2.0.0 through 2.0.17 fail to apply save-time XSS detection to modular pages, allowing authenticated page editors to store Twig-assembled XSS payloads. Attackers with page-edit rights can create modular pages with malicious Twig code that executes in visitor browsers when the parent page is rendered, including in administrator sessions.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-04
Last Modified
2026-09-04
Generated
2026-09-04
AI Q&A
2026-09-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
getgrav grav From 2.0.0 (inc) to 2.0.17 (inc)
getgrav grav to 2.0.24 (inc)
getgrav grav 2.0.18

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stored Cross-Site Scripting (XSS) vulnerability in Grav CMS versions 2.0.0 through 2.0.17. It allows authenticated page editors to inject malicious Twig code into modular pages. When visitors or administrators view the parent page, the malicious payload executes in their browsers. The issue occurs because Grav fails to apply XSS detection during the save process for modular pages.

Detection Guidance

Check Grav CMS versions between 2.0.0 and 2.0.17 for modular pages containing Twig code. Review page-edit logs for unauthorized changes. Inspect browser console for unexpected scripts during page rendering.

Impact Analysis

Attackers with page-edit rights can store malicious scripts that execute when pages are viewed. This could lead to session hijacking, data theft, or unauthorized actions on behalf of users. Administrators are also at risk as payloads can run in their sessions, potentially compromising the entire system.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection requirements and HIPAA's security rules for protected health information. Organizations may face compliance violations if user data is exposed due to the XSS flaw.

Mitigation Strategies

Upgrade Grav CMS to version 2.0.18 or later. Restrict page-edit permissions to trusted users only. Review modular pages for suspicious Twig code and remove unauthorized payloads.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-85598. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart