Grav Admin Plugin, Reflected Cross-Site Scripting, CVE-2025-66309 (Medium)

Listen to this Post

The CVE-2025-66309 is a reflected Cross-Site Scripting (XSS) vulnerability in the Grav admin plugin.

It affects versions prior to 1.11.0-beta.1.

The vulnerability exists in the /admin/pages/[bash] endpoint.

Specifically, the data[bash][content][bash] parameter is not properly sanitized.

Attackers can inject malicious JavaScript code into this parameter.
When an administrator visits a crafted URL containing the malicious payload, the script executes.

This occurs in the admin’s browser context.

The attack is reflected because the server echoes the injected input.
The malicious script is not stored on the server.
It requires the admin to click a malicious link.

This can lead to session hijacking.

Attackers can steal cookies or session tokens.

With admin privileges, the impact is significant.

The vulnerability arises from inadequate input validation.

The fix in version 1.11.0-beta.1 involves proper sanitization.

Developers must encode output to prevent XSS.

The CVSS score of 6.2 indicates medium severity.

This flaw highlights common web security issues.

Regular security audits can detect such vulnerabilities.

Content Security Policies (CSP) can mitigate risks.

Platform: Grav Admin Plugin
Version: Before 1.11.0-beta.1
Vulnerability: Reflected XSS
Severity: Medium
Date: 2025-12-01

Prediction: Patch 1.11.0-beta.1

What Undercode Say:

curl -v “http://target/admin/pages/test?data[bash][content][bash]=

grep -r “data\[header\]\[content\]\[items\]” /grav/path/

python3 -c “import requests; payload=’‘; r=requests.get(‘http://target/admin/pages/page’, params={‘data[bash][content][bash]’: payload}); print(r.text[:500])”

How Exploit:

Craft malicious URL.

Trick admin click.

Script executes browser.

Protection from this CVE

Update to 1.11.0-beta.1.

Implement input sanitization.

Use Content Security Policy.

Impact:

Session hijacking possible.

Admin account compromise.

Potential data theft.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: nvd.nist.gov
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top