Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2026-42841
Analyzed
More InfoOfficial Page
Source-security-advisories@github.com
View Known Exploited Vulnerability (KEV) details
Published At-11 May, 2026 | 16:17
Updated At-12 May, 2026 | 16:16

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary4.06.9MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary3.14.8MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Type: Secondary
Version: 4.0
Base score: 6.9
Base severity: MEDIUM
Vector:
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Type: Primary
Version: 3.1
Base score: 4.8
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
CPE Matches

getgrav
getgrav
>>grav>>Versions up to 1.8.0(inclusive)
cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
getgrav
getgrav
>>grav>>2.0.0
cpe:2.3:a:getgrav:grav:2.0.0:beta1:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-79Secondarysecurity-advisories@github.com
CWE ID: CWE-79
Type: Secondary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663security-advisories@github.com
Patch
https://github.com/getgrav/grav/security/advisories/GHSA-r7fx-8g49-7hhrsecurity-advisories@github.com
Vendor Advisory
Exploit
Patch
https://github.com/getgrav/grav/security/advisories/GHSA-r7fx-8g49-7hhr134c704f-9b21-4f2e-91b3-4a467353bcc0
Vendor Advisory
Exploit
Patch
Hyperlink: https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/getgrav/grav/security/advisories/GHSA-r7fx-8g49-7hhr
Source: security-advisories@github.com
Resource:
Vendor Advisory
Exploit
Patch
Hyperlink: https://github.com/getgrav/grav/security/advisories/GHSA-r7fx-8g49-7hhr
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Resource:
Vendor Advisory
Exploit
Patch
Change History
0Changes found

Details not found