Security mailing lists by PureSourceCode

CVE-2021-3902

CRITICAL 9.8CVSS 3.1

Improper Restriction of XML External Entity Reference in dompdf/dompdf

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.

Published
15 Nov 2024
Last modified
17 Jun 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-611
Also known as
GHSA-3vjh-xrhf-v9xh
Sources
NVDJSONOSV GHSA-3vjh-xrhf-v9xhJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD dompdf_project dompdf
cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:*
< 2.0.0 2.0.0
OSV Packagist dompdf/dompdf < 2.0.0 2.0.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 15 Nov 2024)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 Nov 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.