CVE-2026-75828 Grav before 2.0.15 Stored XSS via detectXss() Quote Bypass

Critical 9.3 Published Updated

Authenticated editors can inject malicious scripts via unpaired quotes in Grav CMS, leading to code execution in visitor browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-75828?

CVE-2026-75828 is a critical cross-site scripting vulnerability in getgrav grav, published on 18 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Grav before 2.0.15 contains a stored cross-site scripting vulnerability in the detectXss() function where unpaired quotes in unquoted attribute values bypass event-handler detection. Authenticated editors can inject event handlers like onerror= that pass validation and execute in visitor browsers when page content is rendered.

Weakness: CWE-79

Which versions are affected by CVE-2026-75828?

2 open source packages ship an affected version, including getgrav/grav.

PackageAffectedFixed in
getgrav/grav PackagistAll versions2.0.15
getgrav/grav PackagistAll versions2.0.15

How do I fix CVE-2026-75828?

Upgrade getgrav/grav to 2.0.15 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-75828 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-75828 exists.

Sources

Also known as GHSA-vfmf-q6x9-cw96.

Is CVE-2026-75828 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free