SCA: security update for spatie/browsershot (GHSA-j2gw-r24m-j2qw)

high Tenable Self-Hosted Container Security Plugin ID 420836

Description

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

- Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation in the
setHtml function, invoked by Browsershot::html(), which can be bypassed by omitting the slashes in the
file URI (e.g., file:../../../../etc/passwd). This is due to missing validations of the user input that
should be blocking file URI schemes (e.g., file:// and file:/) in the HTML content. (CVE-2025-1022)

See Also

https://github.com/advisories/GHSA-j2gw-r24m-j2qw

Plugin Details

Severity: High

ID: 420836

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 2/6/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 51.99

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2025-1022

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.1

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

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

CVSS v4

Risk Factor: High

Base Score: 8.8

Threat Score: 7.8

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/5/2025

Vulnerability Publication Date: 2/5/2025

Reference Information

CVE: CVE-2025-1022