CVE-2026-72832
published medium CVSS 4.0 · 5.1Grav before 2.0.13 Stored XSS via quoted-attribute bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav1.5.2 to < 2.0.13 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | 1.5.2 to < 2.0.13 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- Patch Commit https://github.com/getgrav/grav/commit/ad9709f865b09b68798fb1ac375b484a8cc1d892
- GitHub Security Advisory (GHSA-269c-h76q-8cxw) https://github.com/getgrav/grav/security/advisories/GHSA-269c-h76q-8cxw
- VulnCheck Advisory: Grav before 2.0.13 Stored XSS via quoted-attribute bypass https://www.vulncheck.com/advisories/grav-before-stored-xss-via-quoted-attribute-bypass
Provider assertions
2VulnCheck · cna
Grav before 2.0.13 Stored XSS via quoted-attribute bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 82460d2b02a509a0651049a198ae669f2e6fabe6ae4faa6b5facf87c74b71c88
- Ingested
- 20 Nov 2026, 12:35:13 UTC
- Source record
- Official CVE record