CVE-2026-75828
Received Received - Intake

Stored XSS in Grav CMS via Unquoted Attribute Event Handlers

Vulnerability report for CVE-2026-75828, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-18

Last updated on: 2026-08-18

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-18
Last Modified
2026-08-18
Generated
2026-08-18
AI Q&A
2026-08-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
getgrav grav to 2.0.15 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Grav before version 2.0.15 has a stored cross-site scripting (XSS) vulnerability in the detectXss() function. Unpaired quotes in unquoted HTML attribute values can bypass event-handler detection, allowing authenticated editors to inject malicious event handlers like onerror=. These payloads evade validation and execute in visitor browsers when page content is rendered.

Detection Guidance

To detect this vulnerability, inspect Grav CMS installations for versions before 2.0.15. Check the Grav version in your system files or admin panel. Look for suspicious event handlers like onerror= in content edited by non-super admin users. Use commands like grep -r "detectXss" /path/to/grav or check Grav's version via bin/grav version if available.

Impact Analysis

Attackers with editor access can inject malicious scripts into Grav pages. When visitors view these pages, the scripts execute in their browsers, potentially stealing session cookies, redirecting users, or performing actions on their behalf. This affects all visitors to compromised pages.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's integrity and confidentiality principles. For HIPAA, it may expose protected health information if exploited. Both standards require safeguards against unauthorized data access, which this flaw undermines.

Mitigation Strategies

Immediately update Grav CMS to version 2.0.15 or later. If updating is not possible, review and sanitize all content edited by non-super admin users for malicious event handlers. Disable editing privileges for non-trusted users until patched. Monitor for unusual activity or unauthorized content changes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-75828. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart