SCA: security update for mistune (GHSA-6269-cqxg-mhhv)

medium Tenable Self-Hosted Container Security Plugin ID 441855

Description

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

- Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_toc_ul() builds a
<ul> table-of-contents tree from a list of (level, id, text) tuples. Both the id value (used as
href="#<id>") and the text value (used as the visible link label) are inserted into <a> tags via a plain
Python format string — with no HTML escaping applied to either value. When heading IDs are derived from
user-supplied heading text (the standard use-case for readable slug anchors), an attacker can craft a
heading whose text breaks out of the href="#..." attribute context, injecting arbitrary HTML tags
including <script> blocks directly into the rendered TOC. This vulnerability is fixed in 3.2.1.
(CVE-2026-44898)

Solution

Update the mistune library and its related packages to version 3.2.1 or later.

See Also

https://github.com/advisories/GHSA-6269-cqxg-mhhv

Plugin Details

Severity: Medium

ID: 441855

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/14/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.48

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2026-44898

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/14/2026

Vulnerability Publication Date: 5/14/2026

Reference Information

CVE: CVE-2026-44898

cwe: CWE-79