Skip to main content

CVE-2020-25649 — XML External Entity (XXE) Injection in...

HIGH

XML External Entity (XXE) Injection in Jackson Databind

Published February 18, 2021Updated August 7, 2026Source: OSV

What Should I Do?

Low-to-Moderate Risk

Exploitation probability is 17.81% in 30 days. Address in your next planned sprint.

Does your project use an affected com.fasterxml.jackson.core:jackson-databind version?

Paste your pom.xml to check it for CVE-2020-25649 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

A flaw was found in FasterXML Jackson Databind, where it did not have entity expansion secured properly. This flaw allows vulnerability to XML external entity (XXE) attacks. The highest threat from this vulnerability is data integrity.

Advisory Timeline

  • First published February 18, 2021 (2107 days ago).
  • Last revised August 7, 2026 — 1995 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.10.5.1 or later
<!-- Update pom.xml dependency version to 2.10.5.1 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.9.10.7 or later
<!-- Update pom.xml dependency version to 2.9.10.7 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.6.7.4 or later
<!-- Update pom.xml dependency version to 2.6.7.4 for com.fasterxml.jackson.core:jackson-databind -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: Maven (1).

PackageFixed In
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.10.0, 2.10.0.pr1, 2.10.0.pr2, 2.10.0.pr3 (+5 more)2.10.5.1
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.7.0, 2.7.1, 2.7.1-1, 2.7.2 (+59 more)2.9.10.7
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.6.0, 2.6.1, 2.6.2, 2.6.3 (+7 more)2.6.7.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-611
    XML External Entity (XXE)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References

Frequently Asked Questions

What is CVE-2020-25649?
XML External Entity (XXE) Injection in Jackson Databind. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2020-25649?
CVE-2020-25649 affects com.fasterxml.jackson.core:jackson-databind. It has a 17.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-25649 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
17.81%
EPSS percentile: 97.8

This places it in the top 5% of EPSS-scored vulnerabilities — 97.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-288c-cq4h-88gq

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml