CVE-2026-72832
Last modified
CVE-2026-72832 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. Grav versions from 1.5.2 through 2.0.12 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
Grav versions from 1.5.2 through 2.0.12 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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | All versions |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-72832?
How severe is CVE-2026-72832?
How do I fix CVE-2026-72832?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72827Grav CMS before 2.0.13 contains a server-side template injec…8.8
- CVE-2026-72828Grav Plugin API (getgrav/grav-plugin-api) before 1.0.13 fail…7.2
- CVE-2026-72829The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 …8.8
- CVE-2026-7283A security flaw has been discovered in SourceCodester Pharma…4.7
- CVE-2026-72830Grav API plugin versions before 1.0.13 fail to enforce API k…8.8
- CVE-2026-72831The Flex Objects plugin (through 1.4.6, tested with Grav 2.0…8.8
- CVE-2026-72833The Grav API plugin (getgrav/grav-plugin-api) versions >= 1.…8.8
- CVE-2026-72834filebrowser before 2.63.19 contains a permission bypass in t…4.3
- CVE-2026-72835filebrowser versions before v2.63.21 fail to canonicalize pa…6.8
- CVE-2026-72836FileBrowser before 2.63.19 does not account for case-insensi…8.1
- CVE-2026-72837File Browser versions before 2.63.20 fail to honor the creat…8.8
- CVE-2026-72838FileBrowser versions before 2.63.19 fail to enforce the decl…6.5
Are you affected by CVE-2026-72832?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
