Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
VulnerabilityCVE-2026-61453cvecve-2026-61453
Published: 07/15/2026 (07/15/2026, 11:25:45 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

Description

Grav v2.0.0 contains a cross-site scripting vulnerability (fixed in 2.0.1). The XSS blueprint validator (Security::detectXss()) runs on raw page content before Twig processing. When Twig content processing is enabled (twig_content.process_enabled: true), an attacker with page-write API permission can use Twig's string concatenation operator (~) to dynamically construct event handler names, dangerous tag names, or dangerous protocols at render time (e.g. {% set x = "on" ~ "error" %}). The validator sees only the harmless Twig expression and allows the content, but after Twig rendering the output (rendered via {{ page.content|raw }}) contains an active payload such as <img src=1 onerror=alert(1)>, executing arbitrary JavaScript in visitors' browsers.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
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:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Affected software

GitHub Actionsmore threats →ai
getgrav/grav
pkg:github/getgrav/grav
Affected versions
<2.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 12:18:39 UTC

Technical Analysis

CVE-2026-61453 is a cross-site scripting vulnerability in Grav CMS v2.0.0. The vulnerability occurs because the XSS blueprint validator (Security::detectXss()) analyzes raw page content prior to Twig template processing. When Twig content processing is enabled, an attacker with page-write API permission can use Twig's string concatenation operator (~) to dynamically generate event handler attributes or dangerous tags that the validator does not detect. After Twig renders the content, the output includes active JavaScript payloads such as <img src=1 onerror=alert(1)>, enabling arbitrary script execution in users' browsers. This vulnerability is resolved in version 2.0.1.

Potential Impact

An attacker with page-write API permission can inject malicious JavaScript code that executes in the browsers of visitors viewing the affected pages. This can lead to cross-site scripting attacks, potentially compromising user sessions, stealing sensitive information, or performing actions on behalf of users. The vulnerability requires the attacker to have page-write API access and user interaction (UI required).

Mitigation Recommendations

Upgrade Grav CMS to version 2.0.1 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Since this is not a cloud service, users must apply the patch themselves.

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-07-09T14:06:14.017Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a57772068715ace43a93bcf

Added to database: 07/15/2026, 12:03:44 UTC

Last enriched: 07/15/2026, 12:18:39 UTC

Last updated: 07/15/2026, 18:33:10 UTC

Views: 8

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