SCA: security update for loofah (GHSA-mf2j-8f84-cc9q)

medium Tenable Self-Hosted Container Security Plugin ID 496094

Description

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

- Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on
top of Nokogiri. Prior to 2.25.3, the Loofah HTML5 sanitizer checks href and xlink:href on elements in
SVG_ALLOW_LOCAL_HREF with a regular expression whose line anchor and newline-matching whitespace cause an
all-whitespace value to be rescanned from every line start. An attacker can submit an SVG reference
element with a long multiline-whitespace attribute and consume CPU quadratically during sanitization.
CRuby 3.1 and earlier and JRuby are affected, while CRuby 3.2 and later uses linear-time regular-
expression matching. The default safelist reaches the vulnerable check without a configuration change.
This issue is fixed in version 2.25.3. (CVE-2026-126205)

Solution

Update the loofah library and its related packages to version 2.25.3 or later.

See Also

https://github.com/advisories/GHSA-mf2j-8f84-cc9q

Plugin Details

Severity: Medium

ID: 496094

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2026-126205

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/12/2026

Vulnerability Publication Date: 11/12/2026

Reference Information

CVE: CVE-2026-126205