THREAT OPS › Threat News › [GHSA] GHSA-2c4f-86xc-cr74 (medium) — Grav: XSS Blueprint Validation Bypass via Twig String Concatenation
[GHSA] GHSA-2c4f-86xc-cr74 (medium) — Grav: XSS Blueprint Validation Bypass via Twig String Concatenation
GHSA-2c4f-86xc-cr74 Severity: medium CVE: CVE-2026-61453
Grav: XSS Blueprint Validation Bypass via Twig String Concatenation
## Summary
The XSS blueprint validator (`Security::detectXss()`) runs on the **raw page content before Twig processing**. An attacker can use Twig's string concatenation operator (`~`) to dynamically construct an event handler name at render time. The validator sees `{{ "
MITRE ATT&CK techniques
- JavaScriptT1059.007
Indicators of compromise
- CVE-2026-61453cve
- http://127.0.0.1/grav/api/v1/auth/tokenurl
- http://127.0.0.1/grav/api/v1/pagesurl
- http://127.0.0.1/grav/xss-pageurl
- http://127.0.0.1/grav/xss-page`url
- https://attacker.com/?c=url
Original source: https://github.com/advisories/GHSA-2c4f-86xc-cr74