CVE-2026-42612
published high CVSS 3.1 · 8.5Grav: Publisher-Level Stored XSS via Unquoted Event Attributes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav< 2.0.0-beta.2 | Affected | Not stated | GitHub_M |
Description
Grav is a file-based Web platform. Prior to 2.0.0-beta.2, a stored Cross-Site Scripting (XSS) vulnerability in getgrav/grav allows publisher-level accounts to execute arbitrary JavaScript. The issue arises from a blacklist bypass in the detectXss() function when handling unquoted HTML event attributes. This vulnerability is fixed in 2.0.0-beta.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | < 2.0.0-beta.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2GitHub_M · cna
Grav: Publisher-Level Stored XSS via Unquoted Event Attributes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 24ad90544241f45b3f34e51db37f1888822b16abdd3a98c51a90e6b893b4984c
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record