XML External Entity (XXE) Injection Affecting log4net package, versions <1.2.10+dfsg-8


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
17.82% (98th 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 IDSNYK-ECHOLATEST-LOG4NET-20557215
  • published7 Oct 2026
  • disclosed11 May 2020

Introduced: 11 May 2020

CVE-2018-1285  (opens in a new tab)
CWE-611  (opens in a new tab)

How to fix?

Upgrade Echo:latest log4net to version 1.2.10+dfsg-8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream log4net package and not the log4net package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Apache log4net versions before 2.0.10 do not disable XML external entities when parsing log4net configuration files. This allows for XXE-based attacks in applications that accept attacker-controlled log4net configuration files.

References

CVSS Base Scores

version 3.1