PT-2026-60147 · Grav · Grav

·

CVE-2026-61453

·

Published

2026-07-15

·

Updated

2026-07-15

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Grav version 2.0.0
Description An issue exists where the XSS blueprint validator Security::detectXss() processes raw page content before Twig processing occurs. If Twig content processing is enabled via twig content.process enabled: true, a user with page-write API permissions can bypass the validator using Twig's string concatenation operator (~) to dynamically create event handlers, dangerous tags, or protocols. Because the validator only sees the Twig expression and not the final rendered output, arbitrary JavaScript can be executed in the browsers of visitors when the content is rendered via {{ page.content|raw }}.
Recommendations Update Grav to version 2.0.1. Disable the twig content.process enabled setting to prevent Twig content processing.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-61453
GHSA-2C4F-86XC-CR74

Affected Products

Grav