Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-42841: Grav is a file-based Web platform

31
Routine
MEDIUM 4.8UPGRADE

CVE-2026-42841 is a medium-severity flaw (CVSS 4.8) affecting grav. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 attri

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score4.8 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededHigh
User interactionRequired
EPSS exploit chance0.4% (top 64%)
CISA exploited listNo
WeaknessCWE-79
Published2026-05-11
Last modified2026-10-26
Publisher (CNA): GitHub, Inc. · Vendor: getgrav

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

getgrav grav UPGRADE
Affected: <= 1.8.0 · 2.0.0 beta1
Fixed in: newer than 1.8.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy grav || rpm -q grav || grav --version
2. UPGRADE to newer than 1.8.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade grav
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade grav
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-42841?

grav: upgrade to newer than 1.8.0. Exact commands for each OS are on this page.

Is CVE-2026-42841 being exploited?

CVE-2026-42841 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-42841 affect?

CVE-2026-42841 affects grav. Severity is medium (CVSS 4.8). 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.

How urgent is CVE-2026-42841?

Priority 31/100. Public exploit reference

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.