SCA: security update for league/commonmark (GHSA-4v6x-c7xx-hw9f)

medium Tenable Cloud Security Plugin ID 438477

Description

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

- league/commonmark is a PHP Markdown parser. Prior to version 2.8.1, the DisallowedRawHtml extension can be
bypassed by inserting a newline, tab, or other ASCII whitespace character between a disallowed HTML tag
name and the closing >. For example, <script\n> would pass through unfiltered and be rendered as a valid
HTML tag by browsers. This is a cross-site scripting (XSS) vector for any application that relies on this
extension to sanitize untrusted user input. All applications using the DisallowedRawHtml extension to
process untrusted markdown are affected. Applications that use a dedicated HTML sanitizer (such as HTML
Purifier) on the rendered output are not affected. This issue has been patched in version 2.8.1.
(CVE-2026-30838)

Solution

Update the league/commonmark library and its related packages to version 2.8.1 or later.

See Also

https://github.com/advisories/GHSA-4v6x-c7xx-hw9f

Plugin Details

Severity: Medium

ID: 438477

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 3/7/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.42

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-30838

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 1.2

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/6/2026

Vulnerability Publication Date: 3/6/2026

Reference Information

CVE: CVE-2026-30838

cwe: CWE-79