SCA: security update for maplibre-gl (GHSA-jrc7-96c5-q579)

critical Tenable Self-Hosted Container Security Plugin ID 486268

Description

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

- MapLibre GL JS is an interactive vector tile map library for web browsers. Prior to 6.4.1, DOM.sanitize()
in src/util/dom.ts iterates elem.attributes as a live NamedNodeMap while removeAttributes() removes
attributes from the same collection, shifting indexes and skipping an adjacent dangerous attribute. An
attacker who controls untrusted third-party style attribution strings or user-supplied custom attributions
can supply consecutive dangerous attributes, causing an attribute such as onload or ontoggle to survive
sanitization and execute when the attribution control inserts the content into innerHTML. A victim must
render the affected map content for the script to execute. This issue is fixed in version 6.4.1.
(CVE-2026-85061)

Solution

Update the maplibre-gl library and its related packages to version 5.24.1 or later.

See Also

https://github.com/advisories/GHSA-jrc7-96c5-q579

Plugin Details

Severity: Critical

ID: 486268

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/1/2026

Updated: 12/1/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.8

Percentile: 57.82

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

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

CVSS Score Source: CVE-2026-85061

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/8/2026

Vulnerability Publication Date: 9/3/2026

Reference Information

CVE: CVE-2026-85061

cwe: CWE-79