SCA: security update for getgrav/grav (GHSA-r7fx-8g49-7hhr)

medium Tenable Self-Hosted Container Security Plugin ID 441218

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-42841)

Solution

Update the getgrav/grav library and its related packages to version 2.0.0-beta.2 or later.

See Also

https://github.com/advisories/GHSA-r7fx-8g49-7hhr

Plugin Details

Severity: Medium

ID: 441218

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 5/6/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.37

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.7

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:M/C:P/I:P/A:N

CVSS Score Source: CVE-2026-42841

CVSS v3

Risk Factor: Medium

Base Score: 4.8

Temporal Score: 4.3

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 5.6

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/5/2026

Vulnerability Publication Date: 5/5/2026

Reference Information

CVE: CVE-2026-42841

cwe: CWE-79