XML External Entity (XXE) Injection Affecting libxml2 package, versions [,2.9.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (71st 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 Learn

Learn about XML External Entity (XXE) Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBXML2-3004056
  • published26 Jan 2022
  • disclosed16 Nov 2016
  • creditUnknown

Introduced: 16 Nov 2016

CVE-2016-9318  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.9.5 or higher.

Overview

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection libxml2 2.9.4 and earlier, as used in XMLSec 1.2.23 and earlier and other products, does not offer a flag directly indicating that the current document may be read but other files may not be opened, which makes it easier for remote attackers to conduct XML External Entity (XXE) attacks via a crafted document.

References

CVSS Scores

version 3.1