NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-44737: Grav: Stored XSS via page title (data[header][title]) in admin panel

mediumCVSS 4.0 6.2GHSA-fmg2-f5r9-24qc

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.

Published May 8, 2026 · Updated May 13, 2026

Affected packages

getgrav/grav

Ecosystem
Composer (PHP)
Affected
< 1.7.49.5
Fixed in
1.7.49.5
Check
composer show getgrav/grav

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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: ``

  1. Log in to the Grav Admin Panel and navigate to Pages.
  1. Create a new page or edit an existing one.
  1. Edit title of the page to ``
  1. Save page
  1. Open the move function and click on the folder having the payload

---

Impact

Stored cross-site scripting (XSS) attacks can have serious consequences, including:

  • User actions: Attackers can perform actions on behalf of the user
  • Data theft: Sensitive information such as session cookies can be stolen
  • Account compromise: Attackers may impersonate legitimate users
  • Malicious code execution: Arbitrary JavaScript code can run in the user’s browser
  • Website defacement or misinformation: Malicious output may be injected visually
  • User redirection: Victims may be redirected to phishing or malicious websites

By Vu Duc Hieu Contributor Simon Tran

Credited to vdh1612, SimonTranDuy.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries