Vulnerability Details : CVE-2021-3902
Potential exploit
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.
Vulnerability category: XML external entity (XXE) injectionServer-side request forgery (SSRF)
Products affected by CVE-2021-3902
- cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3902
2.73%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 85 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3902
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
N/A
|
N/A
|
huntr.dev | 2024-11-15 |
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
huntr.dev | 2024-11-15 |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2024-11-18 |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | 2024-11-19 |
CWE ids for CVE-2021-3902
-
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.Assigned by:
- c09c270a-b464-47c1-9133-acb35b22c19a (Primary)
- security@huntr.dev (Primary)
References for CVE-2021-3902
-
https://huntr.com/bounties/a6071c07-806f-429a-8656-a4742e4191b1
huntr - The world’s first bug bounty platform for AI/MLExploit;Issue Tracking;Patch;Third Party Advisory
-
https://github.com/dompdf/dompdf/commit/f56bc8e40be6c0ae0825e6c7396f4db80620b799
Validate SVG image references · dompdf/dompdf@f56bc8e · GitHubPatch
Jump to