Improper Input Validation Affecting dompdf/dompdf package, versions <2.0.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.45% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-DOMPDFDOMPDF-3315269
  • published 8 Feb 2023
  • disclosed 7 Feb 2023
  • credit RyotaK

How to fix?

Upgrade dompdf/dompdf to version 2.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation when validating URI strings to parse SVG files in Image/Cache.php. This allows calling arbitrary URLs with arbitrary protocols. This is a bypass of CVE-2023-23924.

Note: This is exploitable in PHP before version 8.0.0.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.3 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

9.8 critical