# CVE-2026-72832: Grav before 2.0.13 Stored XSS via quoted-attribute bypass

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-14T11:35:38.484Z
- Modified: 2026-11-20T13:18:48.380Z
- Also known as: GHSA-269c-h76q-8cxw
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- getgrav grav: from 1.5.2 before 2.0.13
- getgrav/grav (Packagist): from 1.5.2 before 2.0.13

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-269c-h76q-8cxw> (exploit, vendor-advisory, web)
- <https://github.com/getgrav/grav/commit/ad9709f865b09b68798fb1ac375b484a8cc1d892> (patch, web)
- <https://www.vulncheck.com/advisories/grav-before-stored-xss-via-quoted-attribute-bypass> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-72832> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2026-72832](https://www.cve.org/CVERecord?id=CVE-2026-72832), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-269c-h76q-8cxw](https://github.com/advisories/GHSA-269c-h76q-8cxw), CC-BY-4.0, modified 2026-09-17
- NVD: [CVE-2026-72832](https://nvd.nist.gov/vuln/detail/CVE-2026-72832), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-72832 · Whole record: https://cve.day/CVE-2026-72832.json · Rebuilt by cve.day 2026-11-25T22:59:32.907Z
