CVE-2018-1285

CVE-2018-1285 is a critical-severity vulnerability in Apache Log4net with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 50% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-611.

Key facts

Description

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.

Frequently asked questions

What is CVE-2018-1285?
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.
How severe is CVE-2018-1285?
CVE-2018-1285 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2018-1285 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 50% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2018-1285?
CVE-2018-1285 primarily affects Apache Log4net. In total, 11 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2018-1285?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2018-1285 published?
CVE-2018-1285 was published on 2020-05-11 and last updated on 2026-06-17.

References

Affected products (11)

More vulnerabilities in Apache Log4net

All CVEs affecting Apache Log4net →

Other CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities

Browse all CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities →