Skip to main content
← All vulnerabilities
CVE-2021-3902GHSA-3VJH-XRHF-V9XH

Improper Restriction of XML External Entity Reference in dompdf/dompdf

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • dompdf dompdf/dompdf

    fixed in 2.0.0

  • dompdf/dompdfPackagist

    fixed in 2.0.0

References 2

huntr.com

GitHub · dompdf/dompdf