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

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

CVSS 6.1 · Medium

Affected Version Matrix 2

VendorProductVersion RangeStatus
getgravgrav< 2.0.1affected
2.0.1unaffected
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
getgravgrav 0 ~ 2.0.1 -

II. Public POCs for CVE-2026-61453

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

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-614519.6 CRITICALGrav before 1.0.4 Password Reset Token Poisoning via admin_base_url
CVE-2026-586558.8 HIGHGrav Flex Objects - Server-Side Template Injection via Dynamic Titles
CVE-2026-614578.8 HIGHGrav before 1.0.3 Remote Code Execution via File Upload Extension Bypass
CVE-2026-618738.1 HIGHGrav before 9.1.8 Arbitrary File Write via Twig-Processed Filename
CVE-2026-614496.5 MEDIUMGrav before 2.0.2 Decompression Bomb via Forged ZIP Size
CVE-2026-614525.3 MEDIUMGrav 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