{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72832","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-08-10T15:13:41.486Z","datePublished":"2026-08-14T11:35:38.484Z","dateUpdated":"2026-08-14T14:38:24.175Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-08-14T11:35:38.484Z"},"datePublic":"2026-07-26T00:00:00.000Z","title":"Grav before 2.0.12 Stored XSS via quoted-attribute bypass","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79","type":"CWE"}]}],"affected":[{"vendor":"getgrav","product":"grav","defaultStatus":"affected","versions":[{"version":"0","status":"unaffected","versionType":"semver","lessThan":"1.5.2"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:1.5.2:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.10:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.9:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.8:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.7:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.6:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.5:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:1.7.53.2:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:1.7.53.1:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.4:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.3:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.2:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.1:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.0:-:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.0:rc10:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.0:rc9:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:1.7.53:*:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.0:rc8:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.0:rc7:*:*:*:*:*:*"},{"vulnerable":true,"criteria":"cpe:2.3:a:getgrav:grav:2.0.0:rc6:*:*:*:*:*:*"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":5.1,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-269c-h76q-8cxw","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-269c-h76q-8cxw)"},{"url":"https://github.com/getgrav/grav/commit/ad9709f865b09b68798fb1ac375b484a8cc1d892","tags":["patch"],"name":"Patch Commit"},{"name":"VulnCheck Advisory: Grav before 2.0.12 Stored XSS via quoted-attribute bypass","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/grav-before-stored-xss-via-quoted-attribute-bypass"}],"credits":[{"lang":"en","value":"koyokr","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-269c-h76q-8cxw","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-14T14:36:40.105736Z","id":"CVE-2026-72832","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-14T14:38:24.175Z"}}]}}