GHSA-r7fx-8g49-7hhr · Severity: medium · Ecosystem: composer — Grav CMS vulnerable to stored XSS via Markdown media attribute() action
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. The issue is caused by Markdown image query parameters being converted into callable media actions. The public attribute() media method can be reached this way, allowing an editor to set an arbitrary HTML attribute name and value on the generated image element. This vulnerability is fixed in 2.0.0-beta.2.
Conclusion & alert: CVE-2026-42841 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.03%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-12 | — | 0.03% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.9 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 4.8 | 3.1 | MEDIUM |
|
1.7 | 2.7 | [email protected] |
GHSA-r7fx-8g49-7hhr · Severity: medium · Ecosystem: composer — Grav CMS vulnerable to stored XSS via Markdown media attribute() action
| URL | Tags |
|---|---|
| https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663 | Patch |
| https://github.com/getgrav/grav/security/advisories/GHSA-r7fx-8g49-7hhr | Vendor Advisory Exploit Patch |