CVE-2026-72832: Grav - Stored XSS
- Cve: CVE-2026-72832
- Name: Grav - Stored XSS
- Description: 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.
- Impact: Attackers can execute arbitrary scripts in site origin, affecting all visitors including unauthenticated users.
- Remediation: Upgrade to version 2.0.13 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: logged_in
- Requirements: Attacker needs page editor privileges without admin.super
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00314
- Epss percentile: 0.24561
- Assignee: [email protected]
- Published at: 2026-08-14T12:16:46Z
- Age in days: 102
- Modified at: 2026-11-20T13:18:48Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-72832
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| getgrav:grav | >= 1.5.2, < 2.0.13 | no | cna | /v1/products/getgrav/grav |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| getgrav/grav | commit, package, security_advisory | yes | /v1/repositories/getgrav/grav |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1971
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports