Skip to main content
EPSS 0.3%top 84%

CVE-2026-85598: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav

0
Medium
Published: 09/04/2026 (09/04/2026, 11:30:01 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

getgrav

grav

Affected versions
>=2.0.0 <=2.0.17

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 22:40:04 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses