XSS in Getgrav Grav
CVE-2026-42841
Grav is a file-based Web platform. Prior to 2.0.0-beta.2, an authenticated user with page editing permissions can inject an executable JavaScript event-handler attribute into rendered image HTML through Grav's Markdown media action syntax…
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.000 (6.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Getgrav Grav — versions < 2.0.0-beta.2, 2.0.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Patch, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-42841?
- CVE-2026-42841 is a medium-severity vulnerability in Getgrav Grav, classified under Cross-site Scripting. CVSS score: 4.8/10. Published 2026-05-11.
- How severe is CVE-2026-42841?
- Medium severity. CVSS v3 base score is 4.8 out of 10.