CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2025-53837

CVE-2025-53837: Remote Code Execution in XWiki Rendering via Macro Escape Injection

Alon Barad
Alon Barad
Software Engineer

Sep 18, 2026·4 min read·31 visits

Executive Summary (TL;DR)

Unauthenticated or low-privilege users can inject the "{{/html}}" sequence to escape HTML macro scopes and run arbitrary code on the host OS via privileged script macros.

CVE-2025-53837 is a critical remote code execution (RCE) vulnerability in XWiki Rendering before versions 14.10.2 and 15.0 RC1. The vulnerability arises from a failure to escape macro closing tags within raw output handled by HTML macro blocks. This allows low-privilege users to escape the restricted HTML container and execute high-privilege scripts under the application's context.

Vulnerability Overview

XWiki is a highly extensible, Java-based enterprise wiki platform that supports advanced scripting and rendering. At the core of its platform is the XWiki Rendering engine, a framework responsible for translating multiple input syntaxes (such as XWiki 2.1, Markdown, or HTML) into output formats like XHTML. A key design element of XWiki is its support for nested macros, which are dynamic blocks that execute code, format content, or interface with internal services. Among these, the HTML macro allows users to embed raw HTML components within standard wiki pages.

The vulnerability, identified as CVE-2025-53837, resides in how XWiki processes raw output inside the HTML macro context. When executing with the configuration wiki="true", the HTML macro processes dynamic evaluations within an isolated container. However, the system's underlying rendering handler failed to properly escape macro delimiters when outputting raw data. This omission exposes a vulnerability class known as Eval Injection (CWE-95) combined with Output Escaping Failure (CWE-116).

The practical security boundary breached here is the rendering sandbox. In XWiki, page editors can customize certain profile sections or document pages. If a low-privilege user can modify any page that gets executed or viewed under a highly privileged context, they can leverage this rendering vulnerability to elevate privileges. When the system processes the user-supplied content containing macro closing sequences, it breaks the macro boundaries and executes subsequent script elements with system-level authorization.

Root Cause Analysis

The root cause of CVE-2025-53837 lies within the XHTMLWikiPrinter class, which is a key component of the XWiki Rendering library. This class handles the construction of XHTML tags and manages raw output when generating serialized wiki streams. When an HTML macro is invoked with the parameter wiki="true", the content inside the macro is analyzed and converted. To achieve direct output without double-encoding standard HTML structures, the engine invokes printRaw(String) to output raw text segments to the final rendering channel.

Prior to the resolution of this vulnerability, the printRaw method implemented in XHTMLWikiPrinter did not examine the contents of the raw buffer for active macro delimiters. The exact structure used to terminate an HTML macro block is the sequence {{/html}}. Because the renderer treated raw input as trustable structural content, any literal sequence matching {{/html}} injected into a raw string was output directly to the stream. This directly terminated the parser's active HTML macro block ahead of schedule.

Once the HTML macro container is prematurely terminated, the parser transitions back to interpreting standard wiki syntax. Any syntax elements following the injected {{/html}} sequence are parsed outside the HTML macro. Crucially, if this rendering process occurs on pages with programming rights—such as standard user profile pages or administrative views—the parser executes arbitrary macro blocks located after the fake termination. An attacker can append administrative scripting macros, such as {{groovy}} or {{python}}, which run code outside of the typical sandboxed environment. This architectural flaw converts a simple content-rendering step into an unrestricted execution vector.

Code Analysis

An examination of the vulnerable implementation versus the patched implementation demonstrates how the boundary leak was closed. In the vulnerable version, XHTMLWikiPrinter.java implemented the printRaw(String) method with a direct pass-through to its parent class. This class failed to scan for the macro delimiter sequence {{/html}}, allowing raw text to influence the parser's structural boundaries.

// Vulnerable Implementation
public void printRaw(String raw)
{
    // Triggers space handling before starting elements
    handleSpaceWhenStartElement();
    
    // Passes the raw string directly to the parent printer without validation
    super.printRaw(raw);
}

The fix, introduced in commit 92bc8095ed3acce15ab200c8525e1623b4898be5, introduces structured validation and replacement rules inside printRaw(String) to prevent context-escape attempts. It sanitizes the direct sequence and also prevents boundary-spanning injection techniques.

// Patched Implementation in XHTMLWikiPrinter.java
public void printRaw(String raw)
{
    handleSpaceWhenStartElement();
    
    // First-stage fix: Escape any direct occurrences of the closing tag
    // By replacing "{\

Technical Appendix

CVSS Score
9.9/ 10

Affected Systems

cpe:2.3:o:netgear:r6080_firmware:*:*:*:*:*:*:*:*
AttributeDetail
Improproper Input ValidationAn issue was discovered in NETGEAR R6080 routers through 1.0.0.46. The login.cgi and upgrade.cgi pages and multiple dynamic parameters (such as formUsername, hidden_sysPassword, sysPassword, save_reboot, and select_country) are vulnerable to buffer overflow. An attacker can hijack a stack variable and crash the system or execute arbitrary code with admin privileges by writing over boundary limits of variables.

More Reports

•38 minutes ago•CVE-2026-114157
7.5

CVE-2026-114157: Local Privilege Escalation via Race Condition in ASP.NET Core Kestrel Named Pipes Transport

CVE-2026-114157 is a high-severity local privilege escalation and security feature bypass vulnerability affecting ASP.NET Core on Microsoft Windows. The flaw resides in the Kestrel web server's Named Pipes transport layer (Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes) and stems from a race condition (CWE-362) during broken pipe error recovery. When an active connection throws an IOException during handshake acceptance, the connection listener previously disposed of the broken NamedPipeServerStream instance before acquiring a replacement stream from its internal pool. This sequence created a momentary window where zero server instances of the named pipe existed in the Windows Named Pipe File System (NPFS). A local, low-privileged attacker can exploit this timing window to create a named pipe with the identical name and a permissive Discretionary Access Control List (DACL), hijacking subsequent inter-process communications and escalating privileges across security boundaries.

Amit Schendel
Amit Schendel
1 views•11 min read
•about 1 hour ago•CVE-2026-124194
6.5

CVE-2026-124194: Forced Authentication and NetNTLMv2 Credential Leakage in Microsoft Office Outlook

CVE-2026-124194 is a forced authentication and spoofing vulnerability in Microsoft Office Outlook caused by a missing user interface warning before dereferencing remote network paths (CWE-356). By embedding an attacker-controlled Universal Naming Convention (UNC) path within MAPI message properties such as PidLidReminderFileParameter, an unauthenticated remote attacker can force a victim's system to initiate an outbound SMB or WebDAV connection upon opening or previewing a crafted message. This automatic authentication handshake leaks the user's NetNTLMv2 hash, enabling offline password cracking or real-time NTLM relay attacks. The vulnerability was exploited in the wild as a zero-day prior to its remediation in Microsoft's November 2026 Patch Tuesday updates and is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Alon Barad
Alon Barad
6 views•10 min read
•about 2 hours ago•CVE-2026-114154
7.5

CVE-2026-114154: Denial of Service in ASP.NET Core HttpSys Request Header Processing

CVE-2026-114154 is a high-severity Denial of Service (DoS) and uncontrolled resource consumption vulnerability in the Microsoft.AspNetCore.Server.HttpSys component of ASP.NET Core. When processing an HTTP request that simultaneously contains a chunked Transfer-Encoding header, a Content-Length header, and an explicit X-Content-Length header, the server throws an unhandled ArgumentException during header normalization. In certain versions, subsequent exception handling attempts to dereference a disposed native request context, aborting error response dispatch and leaking unmanaged HTTP.sys request structures.

Amit Schendel
Amit Schendel
2 views•9 min read
•about 3 hours ago•CVE-2026-120778
7.3

CVE-2026-120778: Local Elevation of Privilege via Insecure Temporary Directory Handling and MSBuild Response File Hijacking in Microsoft .NET Aspire CLI

A local elevation of privilege vulnerability exists in the Microsoft .NET Aspire CLI (`Aspire.Cli`) versions 13.5.4 prior to 13.6.5. When executing SDK management commands (`aspire sdk generate`, `aspire sdk dump`, and `aspire sdk export`), the CLI creates temporary project directories inside the shared operating system temporary folder (such as `/tmp` on Unix-like systems) without restricting directory permissions or disabling MSBuild automatic response file resolution. A local, low-privileged attacker on a multi-user system can place a crafted `Directory.Build.rsp` file in the shared temporary directory hierarchy. When a victim user executes an affected Aspire CLI command, MSBuild traverses upward, ingests the attacker-controlled response file, and executes arbitrary commands in the security context of the victim user.

Alon Barad
Alon Barad
2 views•10 min read
•about 4 hours ago•CVE-2026-120792
7.3

CVE-2026-120792: Local Information Disclosure via Temporary File Logging in Microsoft .NET Aspire CLI

CVE-2026-120792 is a high-severity local information disclosure vulnerability in the Microsoft .NET Aspire CLI (Aspire.Cli) affecting versions 13.5.4 prior to 13.6.5. The flaw stems from the insertion of sensitive information into a shared temporary log file (CWE-532) combined with insecure temporary file creation (CWE-377) within the DeprecatedMcpCommandScanner component. During agent configuration scanning, the CLI unconditionally appends internal workspace paths and the first 200 characters of Model Context Protocol (MCP) agent configuration files to a statically named file in the system temporary directory. On multi-user systems, unprivileged local users can read this file to harvest API keys, authentication tokens, and internal service endpoints.

Alon Barad
Alon Barad
3 views•9 min read
•about 5 hours ago•CVE-2026-114159
8.8

CVE-2026-114159: Heap-Based Buffer Overflow in Microsoft Visual Studio and .NET Native Symbol Reader

CVE-2026-114159 is a heap-based buffer overflow vulnerability (CWE-122) in Microsoft.DiaSymReader.Native affecting Microsoft Visual Studio and the .NET Runtime on Windows. An integer truncation error during the parsing of oversized document names in Portable PDB symbol files causes an undersized heap allocation, leading to an out-of-bounds memory write and remote code execution.

Alon Barad
Alon Barad
6 views•10 min read