Skip to content
Fencer Vulns
medium 5.3

CVE-2022-2400 json

External Control of File Name or Path in dompdf/dompdf

published 2022-07-18 4 y ago modified 2026-06-17 4 mo ago also GHSA-5qj8-6xxj-hp9h , EUVD-2022-6252

cvss
5.3
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 68%
public exploits
0
none known

Summary

External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.

Patch / fix

  • packagist dompdf/dompdf 2.0.0
  • dompdf dompdf/dompdf 2.0.0
  • php-dompdf Debian 12 2.0.2+dfsg-1

debian advisories DEBIAN-CVE-2022-2400

  • php-dompdf Ubuntu 20.04 LTS 0.6.2+dfsg-3ubuntu0.20.04.1
  • php-dompdf Ubuntu 22.04 LTS 0.6.2+dfsg-3.1ubuntu0.1
  • php-dompdf Ubuntu Pro 16.04 LTS 0.6.1+dfsg-2ubuntu1+esm1
  • php-dompdf Ubuntu Pro 18.04 LTS 0.6.2+dfsg-3ubuntu0.18.04.1~esm1

ubuntu advisories UBUNTU-CVE-2022-2400

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Exploit prediction

1.21% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • huntr.dev https://huntr.dev/bounties/a6da5e5e-86be-499a-a3c3-2950f749202a referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.0 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
packagist dompdf/dompdf
<2.0.0
2.0.0

Affected products

  • dompdf dompdf/dompdf

Classification

Weakness
  • CWE-73 External Control of File Name or Path

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.