CVE-2026-85598: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav
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 v4.0
Score 5.1medium
Affected software
getgrav
grav
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-85598 is a cross-site scripting vulnerability in Grav CMS versions 2.0.0 through 2.0.17. The issue arises because save-time XSS detection is not applied to modular pages, allowing authenticated page editors to embed Twig-assembled XSS payloads. When a parent page renders these modular pages, the malicious code executes in the browsers of visitors, potentially including administrators. This vulnerability requires authenticated access with page editing privileges.
Potential Impact
An attacker with page editing rights can inject malicious Twig code into modular pages, which executes in the browsers of users viewing the parent page. This can lead to XSS attacks affecting visitors and administrators, potentially enabling session hijacking or other client-side attacks. The vulnerability is limited to authenticated users with editing permissions and does not allow unauthenticated exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, restrict page editing permissions to trusted users only and review modular page content for malicious Twig code. Monitor vendor channels for official fixes or updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-04T11:00:28.730Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a9aada1acd9273b4981da05
Added to database: 09/04/2026, 11:38:09 UTC
Last enriched: 09/14/2026, 22:40:04 UTC
Last updated: 10/18/2026, 06:48:20 UTC
Views: 77
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.