SCA: security update for dompdf/dompdf (GHSA-3qx2-6f78-w2j2)

high Tenable Cloud Security Plugin ID 409668

Description

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

- Dompdf is an HTML to PDF converter for PHP. When parsing SVG images Dompdf performs an initial validation
to ensure that paths within the SVG are allowed. One of the validations is that the SVG document does not
reference itself. However, prior to version 2.0.4, a recursive chained using two or more SVG documents is
not correctly validated. Depending on the system configuration and attack pattern this could exhaust the
memory available to the executing process and/or to the server itself. php-svg-lib, when run in isolation,
does not support SVG references for `image` elements. However, when used in combination with Dompdf, php-
svg-lib will process SVG images referenced by an `image` element. Dompdf currently includes validation to
prevent self-referential `image` references, but a chained reference is not checked. A malicious actor may
thus trigger infinite recursion by chaining references between two or more SVG images. When Dompdf parses
a malicious payload, it will crash due after exceeding the allowed execution time or memory usage. An
attacker sending multiple request to a system can potentially cause resource exhaustion to the point that
the system is unable to handle incoming request. Version 2.0.4 contains a fix for this issue.
(CVE-2023-50262)

See Also

https://github.com/advisories/GHSA-3qx2-6f78-w2j2

Plugin Details

Severity: High

ID: 409668

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.4

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2023-50262

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/13/2023

Vulnerability Publication Date: 12/13/2023

Reference Information

CVE: CVE-2023-50262

cwe: CWE-20