Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted input reaching a log message
-
ExploitEmbed CDATA end marker plus combining/ignorable character
-
ExecutionCulture-sensitive search misses marker, CDATA stays open
-
ImpactXML log consumer swallows and hides following events
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log output neutralization
|
| Exploitation Conditions | Exploitation requires the application to be configured to use log4net's XmlLayout or XmlLayoutSchemaLog4J layout (not a universal default), attacker-influenced data to reach a logged message, and a downstream consumer that parses the resulting XML log. The effect is version-dependent: from log4net 3.3.1 onward an open CDATA section causes a parser to read following log events as part of the attacker's message (hiding them); on earlier versions from 1.2.9 the log file is simply left not well-formed. No authentication is inherently required by the layout, but the non-default layout requirement and the need for a parsing consumer are the key factors that limit real-world exposure. Upgrading to 3.6.0 is the vendor-stated fix. |
| Impact | This is a low-to-moderate severity integrity issue, not a priority emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N, 5.3) reflects remote, unauthenticated, low-complexity triggering with impact limited to integrity (I:L) and no confidentiality or availability loss - consistent with CWE-117 log tampering rather than code execution or data theft. No EPSS score is provided and the CVE is NOT in CISA KEV; exploitation status is no public exploit identified at time of analysis (the fix commit contains only unit tests demonstrating the behavior, not a weaponized PoC). The vuln.today decision label is 'this_month', aligning with a scheduled-patch rather than act_now posture. The main caveat the CVSS does not capture: real-world exploitability is gated on the application explicitly using the XmlLayout or XmlLayoutSchemaLog4J layouts and on a downstream consumer parsing the XML log - PR:N/AC:L describe the base severity but not this configuration dependency, so raw CVSS overstates universal applicability. Net: a genuine but narrow log-forging/log-hiding weakness, suitable for routine patching. |
| Exploit ScenarioDerived | An attacker who can influence data that ends up in a log entry (for example a username, HTTP header, or form field) submits a message containing the CDATA end marker followed by an ignorable character or combining mark. Because the layouts searched for the marker with a culture-sensitive comparison, the marker is missed and the CDATA section is left open; on log4net 3.3.1 and later a downstream XML parser then absorbs subsequent legitimate log events into the attacker's message, hiding them from anyone consuming the parsed log. No public weaponized exploit exists - only unit tests in the fix illustrate the trigger. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Apache log4net's XmlLayout and XmlLayoutSchemaLog4J layouts can emit a log message whose CDATA section is never closed, letting an attacker who controls part of a log message hide subsequent log events from any consumer that parses the XML log. The flaw is a culture-sensitive search for the CDATA end marker that misses the marker when ignorable characters or a combining mark sit around it; the effect is version-dependent, with releases from 3.3.1 onward causing a parser to absorb following events into the attacker's message, while versions from 1.2.9 up to that point simply produce a not well-formed log file. All releases from 1.2.9 before 3.6.0 are affected, unauthenticated remote input is sufficient per the CVSS vector (PR:N), and the vendor fix is 3.6.0; no public exploit code has been identified at time of analysis and EPSS/KEV signals were not provided.
RemediationAI
Vendor-released patch: Apache log4net 3.6.0 - the advisory states that users should upgrade to version 3.6.0, which fixes the issue; the code change is commit 80d955e8c8f1e9f094c2b3d1c142147ee8b8b805 (PR https://github.com/apache/logging-log4net/pull/355), which switches both CDATA end-marker searches in Transform.WriteEscapedXmlString to StringComparison.Ordinal. If upgrading immediately is not possible, the practical compensating control is to stop using XmlLayout / XmlLayoutSchemaLog4J and log through a layout that does not embed message text in CDATA - the trade-off is that you lose the structured XML event format and any downstream tooling that depends on it, so the suppression must be scoped to the affected appenders. Because the defect is triggered by attacker-influenced text reaching a log message, stripping or rejecting the literal "]]>" sequence and invisible/combining characters from untrusted values before logging reduces the chance of an unterminated section, but this is a per-application input filter, not an equivalent to the vendor fix, and it must be maintained across every call site. Note the version-dependent impact when assessing urgency: from 3.3.1 onward the effect is hidden log events for XML-parsing consumers, while earlier versions leave the log file not well-formed. Advisory links: https://lists.apache.org/thread.html/wdwlygr9v6wv24gh3w364syttqzkv88m and https://seclists.org/oss-sec/2026/q4/760.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
log4net is the Apache .NET logging library, and XmlLayout / XmlLayoutSchemaLog4J are the layouts that serialise each logging event as XML. To embed free-text message data, the layouts use Transform.WriteEscapedXmlString, which wraps text in CDATA sections and looks for the CDATA end marker "]]>" to split the text into several sections. That search used the culture-sensitive string.IndexOf overload, i.e. a linguistic comparison rather than a byte-for-byte one. In a linguistic comparison, ignorable characters (such as U+200D, U+00AD, or tag/variation-selector characters like U+E0020 and U+E0100) are skipped and combining marks are folded, so a marker that contains or is followed by such characters is not recognised for what it is: the three literal units the surrounding loop assumes are not at the matched position, and the CDATA section is left open. This is CWE-117 (Improper Output Neutralization for Logs) - a log-injection/neutralisation defect in which untrusted data is written into a structured record without reliably escaping the delimiters of that structure. The upstream fix (commit 80d955e8) changes both IndexOf calls to StringComparison.Ordinal so that only the literal three-character sequence counts as the end marker; the accompanying tests cover look-alike markers with ignorable characters, markers at end-of-string, and a th-TH culture case, and note that on net462 the writer behaved differently because XmlWriter.Create splits the section itself on other targets. The downstream consequence differs by version: from 3.3.1 an XML parser reads the events following the unterminated section as part of the attacker's message, whereas older versions simply leave the log file not well-formed.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attacker-controlled data reaches the log remotely without authentication (AV:N/PR:N/AC:L); impact is confined to log integrity (I:L) with no confidentiality or availability effect.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Improper Output Neutralization for Logs vulnerability in the XmlLayout and XmlLayoutSchemaLog4J of Apache log4net.
Both layouts split a message holding the CDATA end marker into several CDATA sections, but searched for the marker with a culture-sensitive comparison. Ignorable characters or a combining mark around the marker made the search miss it, so the CDATA section stayed open. From 3.3.1 on, an XML parser then reads the following log events as part of that message; earlier versions leave the log file not well-formed. A party whose data reaches a log message could hide later log events from a consumer that parses the XML log.
This issue affects Apache log4net: from 1.2.9 before 3.6.0.
Users are recommended to upgrade to version 3.6.0, which fixes the issue.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-128191
GHSA-834f-w75c-wxm6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB