Advisory

GHSA-3vjh-xrhf-v9xh

Also known as: CVE-2021-3902

Summary

Improper Restriction of XML External Entity Reference in dompdf/dompdf

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-11-15 12:31 UTC
Modified
2024-11-18 21:25 UTC

Affected packages and fixes

dompdf/dompdf

Packagist · All systems

Affected

  • introduced 0, fixed 2.0.0 (ecosystem)

Fixed versions

2.0.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences