Advisory record · GHSA-97m3-52wr-xvv2

Dompdf's usage of vulnerable version of phenx/php-svg-lib leads to restriction bypass and potential RCE

CVSS 10.0 CriticalCritical

Critical, because:

  • CVSS score 10.0: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 22 Feb 2024, 18:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
phenx/php-svg-libPackagist<0.5.20.5.2
Identifiers
GHSA-97m3-52wr-xvv2 · PKSA-qsyb-3psh-f1t3
Weakness (CWE)
CWE-73 · CWE-502
Published
22 Feb 2024
Updated
30 Nov 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Dompdf is vulnerable through its use of the phenx/php-svg-lib package, versions below 0.5.2, which is the affected dependency here. An attacker who can get dompdf to render an SVG with a malicious inline CSS font-family can make it call arbitrary URLs and protocols, which may lead to unsafe deserialization on PHP versions before 8.0 and possibly remote code execution. Upgrade phenx/php-svg-lib to version 0.5.2 or later.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
10.0 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:28 UTC First seen by agentprime
  2. 31 Oct 2026, 14:28 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.