1. Home
  2. Vulnerabilities
  3. CVE-2021-3902

CVE-2021-3902

An improper restriction of external entities (XXE) vulnerability in dompdf/dompdf's SVG parser allows for…

Published 15 Nov 2024 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 63/100

Summary

An improper restriction of external entities (XXE) vulnerability in dompdf/dompdf's SVG parser allows for Server-Side Request Forgery (SSRF) and deserialization attacks. This issue affects all versions prior to 2.0.0. The vulnerability can be exploited even if the isRemoteEnabled option is set to false. It allows attackers to perform SSRF, disclose internal image files, and cause PHAR deserialization attacks.

Affected products and versions

Dompdf project (1 line(s))
Dompdf project
ProductVersionsFixed inSource
Dompdf before 2.0.0 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-611 · Autre (CWE-611)

How this data is obtained and calculated