Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-61453— Grav before 2.0.1 XSS via Twig String Concatenation

Quick assessment

Affected
getgrav grav
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

getgrav Grav是getgrav个人开发者开源的一套可扩展的内容管理系统。 getgrav Grav 2.0.1之前版本存在跨站脚本漏洞,该漏洞源于XSS蓝图验证器在Twig处理前对原始页面内容运行,当Twig内容处理启用时,攻击者可利用Twig字符串连接运算符动态构建事件处理程序名、危险标签名或危险协议,导致输出包含活动有效载荷,执行任意JavaScript。

CVSS 6.1 · Medium EPSS 0.26% · P16

Affected Version Matrix 2

VendorProduct Version RangeStatus
getgrav grav < 2.0.1 affected
2.0.1 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-61453

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Grav before 2.0.1 XSS via Twig String Concatenation
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
getgrav Grav 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
getgrav Grav是getgrav个人开发者开源的一套可扩展的内容管理系统。 getgrav Grav 2.0.1之前版本存在跨站脚本漏洞,该漏洞源于XSS蓝图验证器在Twig处理前对原始页面内容运行,当Twig内容处理启用时,攻击者可利用Twig字符串连接运算符动态构建事件处理程序名、危险标签名或危险协议,导致输出包含活动有效载荷,执行任意JavaScript。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
getgrav grav 0 ~ 2.0.1 -

II. Public POCs for CVE-2026-61453

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-61453

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-61453 (2)

Same Patch Batch · getgrav · 2026-07-15 · 7 CVEs total

CVE-2026-61451 9.6 CRITICAL Grav before 1.0.4 Password Reset Token Poisoning via admin_base_url
CVE-2026-58655 8.8 HIGH Grav Flex Objects - Server-Side Template Injection via Dynamic Titles
CVE-2026-61457 8.8 HIGH Grav before 1.0.3 Remote Code Execution via File Upload Extension Bypass
CVE-2026-61873 8.1 HIGH Grav before 9.1.8 Arbitrary File Write via Twig-Processed Filename
CVE-2026-61449 6.5 MEDIUM Grav before 2.0.2 Decompression Bomb via Forged ZIP Size
CVE-2026-61452 5.3 MEDIUM Grav before 2.0.4 Improper Session Invalidation JWT Access Tokens

IV. Related Vulnerabilities

V. Comments for CVE-2026-61453

No comments yet


Leave a comment