GitHub Advisoryadvisory · Packagist

GHSA-fmg2-f5r9-24qc Grav: Stored XSS via page title (data[header][title]) in admin panel

MEDIUM Published 2026-05-08 Modified 2026-05-13 Official page ↗
Aliases
CVE-2026-44737
Ecosystem
Packagist
Packages
getgrav/grav
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:H/SI:H/SA:H
Weaknesses
CWE-79
Reviewed
2026-05-08

Affected packages

• Packagist getgrav/grav: < 1.7.49.5 → fixed in 1.7.49.5

Description

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. 2. Create a new page or edit an existing one. 3. Edit title of the page to `` 4. Save page 5. 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

Related

Alias · CVE (1)

  • CVE-2026-44737 grav-plugin-admin is the admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References