p PatchFirst

CVE-2021-3902

CVE-2021-3902 · Improper Restriction of XML External Entity Reference in dompdf/dompdf

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.8 · Critical · EPSS 1.0% · Fix available

Published
Updated

Stack: system · php

Affected products and versions

  • dompdf/dompdf

    Versions
    • ≥ unspecified, < 2.0.0: Affected (custom)

    Update to 2.0.0

  • php-dompdf Debian:12

    Affected ranges
    • ECOSYSTEM: < 2.0.2+dfsg-1

    Update to 2.0.2+dfsg-1

  • dompdf/dompdf Packagist

    Versions
    • v0.6.0
    • v0.6.1
    • v0.6.2
    • v0.7.0
    • v0.7.0-beta
    • v0.7.0-beta2
    • v0.7.0-beta3
    • v0.8.0
    • v0.8.1
    • v0.8.2
    • v0.8.3
    • v0.8.4
    • v0.8.5
    • v0.8.6
    • v1.0.0
    • v1.0.1
    • v1.0.2
    • v1.1.0
    • v1.1.1
    • v1.2.0
    • v1.2.1
    • v1.2.2
    Affected ranges
    • ECOSYSTEM: < 2.0.0

    Update to 2.0.0

Original sources

Check your server →