CVE-2026-42841
CVE-2026-42841 — Grav: Stored XSS via Markdown media attribute() action in Grav CMS
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.9
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.9 | CVSS 4.0 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-79
References
2 on the record
- github.com/getgrav/grav/security/advisories/GHSA-r7fx-8g49-7hhr
x_refsource_CONFIRM
- github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2019-3929 Crestron Multiple Products Command Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-42009 RoundCube Webmail Cross-Site Scripting VulnerabilityCVSS 9.3 · CISA KEV
- CVE-2023-34192 Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) VulnerabilityCVSS 9.0 · CISA KEV
- CVE-2019-18426 WhatsApp Cross-Site Scripting VulnerabilityCVSS 8.2 · CISA KEV
- CVE-2024-43573 Microsoft Windows MSHTML Platform Spoofing VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2024-44309 Apple Multiple Products Cross-Site Scripting (XSS) VulnerabilityCVSS 6.3 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.