---
id: CVE-2026-75828
title: >-
  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
summary: >-
  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
  o…
severity: high
cvss: 8.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N'
cwe:
  - CWE-79
published: '2026-08-18'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:32:39.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75828'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-vfmf-q6x9-cw96'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/grav-before-stored-xss-via-detectxss-quote-bypass
    label: disclosure@vulncheck.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-vfmf-q6x9-cw96'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75828'
  - url: 'https://github.com/advisories/GHSA-vfmf-q6x9-cw96'
tags:
  - nvd
  - ghsa
  - composer
epss: 0.00343
epssPercentile: 0.27908
ingestedAt: '2026-09-08T21:11:12.279Z'
aliases:
  - GHSA-vfmf-q6x9-cw96
ecosystem: composer
vendor: getgrav
product: getgrav/grav
affected:
  - getgrav/grav <= 2.0.14
patched:
  - getgrav/grav 2.0.15
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-75828)

Affected packages:

- `getgrav/grav <= 2.0.14`

Patched in:

- `getgrav/grav 2.0.15`

Source: https://github.com/advisories/GHSA-vfmf-q6x9-cw96
