PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-72832 getgrav CVE debrief

A stored cross-site scripting vulnerability exists in Grav versions from 1.5.2 through 2.0.12 in the Security::detectXss() function. A page editor without admin.super privileges can save malicious page content that is executed when visited by other users. The vulnerability allows an attacker to execute arbitrary JavaScript code in the context of other users, potentially leading to session theft, sensitive information disclosure, or site defacement. Site administrators and users with page editor privileges should assess exposure and prioritize patching.

Vendor
getgrav
Product
grav
CVSS
MEDIUM 5.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-14
Original CVE updated
2026-09-08
Advisory published
2026-08-14
Advisory updated
2026-09-08

Who should care

Site administrators and users with page editor privileges in Grav versions from 1.5.2 through 2.0.12 should assess exposure and prioritize patching. Affected operators, platform administrators, vulnerability management teams, and security teams should review the vulnerability and take necessary actions to protect their systems.

Why it matters

CVE-2026-72832 is a stored cross-site scripting vulnerability in Grav that allows an attacker to execute malicious JavaScript code in the context of other users. Site administrators and users with page editor privileges should assess exposure and prioritize patching.

  • An attacker can execute arbitrary JavaScript code in the context of other users
  • An attacker can steal user sessions or sensitive information
  • An attacker can deface or modify site content

Technical summary

The Security::detectXss() function in Grav versions from 1.5.2 through 2.0.12 is vulnerable to stored cross-site scripting. The function is anchored at `<` and uses `[^>]*?`, which cannot cross the first literal `>`. This allows an attacker to save malicious page content that is executed when visited by other users. The vulnerability is caused by the event-handler scan being anchored at `<` and using `[^>]*?`, which cannot cross the first literal `>`. This allows an attacker to save page content such as `<img src=x title=></img>onerror=alert(document.domain)>`, which is accepted, stored, and executed in the site origin when any visitor views the page.

Defensive priority

Medium priority for patching and verification

Recommended defensive actions

  • Patch Grav to version 2.0.13 or later
  • Verify that all user-supplied input is properly sanitized
  • Monitor for suspicious activity on the site
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is caused by the event-handler scan being anchored at `<` and using `[^>]*?`, which cannot cross the first literal `>`. This allows an attacker to save page content such as `<img src=x title=></img>onerror=alert(document.domain)>`, which is accepted, stored, and executed in the site origin when any visitor views the page.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-72832 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-72832

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-72832 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-72832

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.