getgrav/grav
Affected
- introduced
0, fixed1.7.49.5(ecosystem)
Fixed versions
1.7.49.5
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-44737
Grav: Stored XSS via page title (data[header][title]) in admin panel
Summary
_A Stored Cross-Site Scripting (XSS) vulnerability was identified in the /admin/pages/[page] endpoint of the Grav application. This vulnerability allows attackers to inject malicious scripts into the data[header][title] parameter._
---
Details
Vulnerable Endpoint: GET /admin/pages/[page]
Parameter: data[header][title]
The application fails to properly validate and sanitize user input in the data[header][title] parameter. As a result, attackers can craft a malicious URL with an XSS payload. When this URL is accessed, the injected script is reflected back in the HTTP response and executed within the context of the victim's browser session.
---
PoC
Payload: <img src=1 onerror=alert(1)>
<img src=1 onerror=alert(1)><img width="1897" height="700" alt="image" src="https://github.com/user-attachments/assets/77a129ca-5c2b-4743-8c56-c17fa456eefa" />
<img width="1904" height="984" alt="image" src="https://github.com/user-attachments/assets/44f8f88f-76c4-449f-8c4e-11e8e2c51d8f" />
<img width="1902" height="995" alt="image" src="https://github.com/user-attachments/assets/1dc2ef15-e534-4e87-93ea-92bc573af7f1" />
---
Impact
Stored cross-site scripting (XSS) attacks can have serious consequences, including:
By Vu Duc Hieu
Contributor Simon Tran
Medium Basis: The source's own band: MODERATE
0, fixed 1.7.49.5 (ecosystem)1.7.49.5
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0