Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend request with markup payload (e.g. <script>)
-
ExploitReading request params triggers ASP.NET request validation exception
-
Execution%aspnet-request layout throws, appender discards event
-
ImpactAttacker's request evades logging
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling procedures
|
| Exploitation Conditions | Exploitation requires a specific stack: (1) the application runs on ASP.NET for .NET Framework (the vulnerable code path depends on System.Web, which netstandard/.NET Core lacks per the vendor test guard NET462_OR_GREATER); (2) log4net version in the range 1.2.11 up to but not including 3.5.0; (3) the log4net layout pattern explicitly uses the %aspnet-request converter; and (4) ASP.NET request validation is active (default on .NET Framework) so that a parameter such as <script> raises HttpRequestValidationException on first access to HttpRequest.Params. LIMITING FACTORS: the affected configuration is narrow (Framework-only plus an opt-in layout converter), no authentication or user interaction is needed, and crucially the impact is confined to suppressing the logging of the attacker's own request - it cannot delete other users' logs, read data, or crash the service, so realistic risk is limited to log evasion aiding a separate attack. |
| Impact | This is a genuine but low-priority medium-severity issue (CVSS 5.3), and the signals should be read carefully. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N correctly scores a remote, unauthenticated, low-complexity vector with NO confidentiality or availability impact and only LOW integrity impact - that integrity impact is loss/suppression of a log record, i.e. an anti-forensics/log-evasion weakness, not data compromise or code execution. No EPSS score, no CISA KEV listing, and no public exploit were provided in the input, so exploitation status is: no public exploit identified at time of analysis. SSVC-style reasoning: technical impact is partial (log integrity only), automatable is plausible (a scripted request can trigger it) but the payoff is merely suppressing the attacker's own request log, which limits practical value to covering tracks for a separate attack. CONFLICTING SIGNAL: the input Tag 'Information Disclosure' is inconsistent with the CVSS (C:N) and the described behavior - nothing is disclosed; a log event is dropped. Real-world priority is low: exploitation requires a narrow configuration, and the worst outcome is a missing log entry rather than a compromised system. |
| Exploit ScenarioDerived | An attacker sends an HTTP request containing markup such as <script> in a query-string or form parameter to a vulnerable ASP.NET-on-.NET-Framework application whose log4net layout uses %aspnet-request. When the layout reads the request parameters, ASP.NET request validation throws, log4net's appender discards the entire log event, and the attacker's request leaves no trace in the logs - useful anti-forensics to mask other malicious activity. No public proof-of-concept was identified in the provided data, though the vendor's own regression tests demonstrate the behavior. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Log-record suppression in the %aspnet-request pattern converter of Apache log4net lets an unauthenticated remote sender erase the log entry for their own request by placing markup such as <script> in a parameter, because reading HttpRequest.Params triggers ASP.NET request validation, throws HttpRequestValidationException inside the layout, and causes the appender to discard the entire event. Only applications running on ASP.NET for .NET Framework (the converter depends on System.Web, which netstandard/.NET Core lacks) with log4net 1.2.11 through 3.4.x and a layout that explicitly uses %aspnet-request are affected; versions from 3.5.0 onward are fixed. Impact is confined to the attacker suppressing logging of their own request - it cannot read data, delete other users' records, or crash the service - and there is no public exploit identified at time of analysis, no CISA KEV listing, and the assessed vector is AV:N/AC:L/PR:N/UI:N with only a low integrity impact (CVSS 5.3), making this a real but low-priority issue whose practical value is helping an attacker evade audit trails for a separate attack.
RemediationAI
Upgrade to Apache log4net 3.5.0, the vendor-released fix version that resolves CVE-2026-105242; the patch is upstream in commit 145203420c579a703008b4b723b6a080757f4964 and pull request 316, both of which are linked from the NVD references alongside the Apache announcement at https://lists.apache.org/thread.html/zg6dbqm4ztm7j3c21nfsqj0yxm5yrpdx. If upgrading cannot be scheduled immediately, the most direct compensating control is to stop using the %aspnet-request converter in layout patterns (for example on log4net 1.2.11 through 3.4.x deployments on ASP.NET for .NET Framework), replacing it with %message, %logger, %property or other converters that do not touch HttpRequest.Params - the trade-off is loss of request-field context in log output, which may reduce forensic value elsewhere. A stronger but higher-risk workaround is to lower or disable ASP.NET request validation (for example via requestValidationMode settings) so that HttpRequest.Params does not throw: this removes an important defense against cross-site scripting and request-validation attacks across the entire application and should only be considered as a short-lived, tightly scoped measure. Because the flaw only lets a sender suppress the record of their own request and cannot affect other users' entries, integrity monitoring and out-of-band logging of rejected/validation-failing requests can also be used to detect the evasion attempt while the upgrade is pending; no vendor-assigned workaround beyond upgrading to 3.5.0 is documented in the available references.
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
The root cause is CWE-755 (Improper Handling of Exceptional Conditions) in log4net's %aspnet-request pattern converter, which reads HttpRequest.Params to render request data into log output. On ASP.NET for .NET Framework, request validation is enabled by default, and the first access to HttpRequest.Params validates the query string, form fields and cookies; a value containing markup such as <script> therefore raises HttpRequestValidationException from inside the layout. Because log4net does not contain that exception, the appender treats the failed render as a failure for the whole event and drops it, so the sender effectively controls whether their own request is logged. The fix in the 3.5.0 changelog (issue 316, audit da18b6fd-f019) switches the converter to read through HttpRequest.Unvalidated, which returns the raw content instead of throwing, and adds tests guarded by NET462_OR_GREATER - confirming the vulnerable code path requires System.Web and therefore exists only on .NET Framework, not netstandard or .NET Core. The vendor test suite also verifies that benign requests render unchanged and that a missing HttpContext still yields the not-available marker, so the change is scoped to the exceptional path rather than altering normal output.
Know when Log4Net gets its next vulnerability
- 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
A remote unauthenticated crafted request (AV:N/AC:L/PR:N/UI:N) causes loss of a log record only, giving I:L with no confidentiality (C:N) or availability (A:N) impact.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Improper Handling of Exceptional Conditions vulnerability in the aspnet-request pattern converter of Apache log4net.
Reading request parameters triggers ASP.NET request validation, so a request carrying content such as markup made the layout throw and the appender discarded the whole event. A sender could suppress the log record of their own request. Only applications on ASP.NET for .NET Framework whose layout uses %aspnet-request are affected.
This issue affects Apache log4net: from 1.2.11 before 3.5.0.
Users are recommended to upgrade to version 3.5.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
Log-integrity tampering in the RemoteSyslogAppender of Apache log4net affects versions from 1.2.12 up to but not includi
Improper handling of Unicode encoding in Apache log4net's SmtpPickupDirAppender lets an attacker who can place unencodab
Log-record truncation in Apache log4net's EventLogAppender silently drops everything a layout renders after a NUL (\0) c
Silent suppression of Windows event-log records in Apache log4net's EventLogAppender lets a party that can influence log
A NUL character (U+0000) embedded in content that reaches a log message causes Apache log4net's OutputDebugStringAppende
EUVD-2026-93867
GHSA-r886-mf8r-26c7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB