CVE-2026-135541 in Firefox
Summary
by MITRE • 11/24/2026
Use-after-free in the XSLT component. This vulnerability was fixed in Firefox 161, Firefox ESR 115.46, and Firefox ESR 153.8.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/24/2026
The identified vulnerability represents a critical memory management error classified as an out-of-bounds write or use-after-free condition within the Extensible Stylesheet Language Transformations (XSLT) processing engine of Mozilla Firefox browsers. This specific flaw arises when the application fails to properly manage the lifecycle of allocated memory objects during complex stylesheet transformations, leading to scenarios where pointers reference deallocated heap regions. Such conditions are particularly dangerous because they allow an attacker who can trick a user into visiting a specially crafted webpage containing malicious XSLT code to execute arbitrary code with the privileges of the target process. The vulnerability was addressed in Firefox version 161 as well as extended support release versions 115.46 and 153.8, indicating that older or unpatched installations remain susceptible to exploitation through crafted web content designed to trigger the specific memory corruption sequence within the XSLT parser.
From a technical perspective, use-after-free vulnerabilities occur when software continues to use a pointer after it has been freed, which can lead to unpredictable behavior including crashes, data corruption, and potentially remote code execution. In the context of browser engines like Gecko used by Firefox, these flaws often stem from complex interactions between JavaScript objects and native C++ components handling document object model manipulations or style sheet processing. When an XSLT transformation is initiated via a maliciously constructed HTML page that references external stylesheets or contains embedded scripts designed to manipulate DOM elements during the parsing phase, the browser may prematurely release memory associated with intermediate nodes while other parts of the system still hold references to them. This discrepancy creates a window where heap metadata can be corrupted or arbitrary write primitives can be achieved if an attacker successfully controls the content that gets allocated into the freed memory space through subsequent allocations triggered by their payload.
The operational impact of this vulnerability is severe, as it enables remote code execution without user interaction beyond visiting the malicious site, assuming standard browser sandboxing protections are bypassed or insufficient for the specific exploitation technique employed. Attackers can leverage this flaw to install malware, steal sensitive information such as cookies and session tokens, or pivot further into internal networks if the victim is part of a corporate environment with less restrictive browsing policies. The existence of fixes in both current release channels and long-term support versions underscores the importance of maintaining up-to-date browser software across all user endpoints, particularly for organizations relying on Firefox ESR editions which are often deployed in enterprise environments where security patching cycles may lag behind immediate releases if not managed proactively by IT administrators.
To mitigate this risk, users must ensure their browsers are updated to at least version 161 or the specified ESR patches immediately upon availability. Security teams should verify that automatic update mechanisms are enabled for all Firefox installations within their infrastructure and monitor for any indicators of compromise related to XSLT processing anomalies in network logs or endpoint detection systems. Additionally, implementing strict content security policies can help reduce the attack surface by restricting the loading of external stylesheets or scripts from untrusted sources, thereby limiting the ability of attackers to inject malicious transformation logic into user sessions. Regular vulnerability scanning and penetration testing focused on browser-based attacks should also be conducted to identify any residual exposure in legacy systems that may not have received these critical patches yet.
This incident aligns with common weakness enumeration standards such as CWE-416 which describes use-after-free conditions, highlighting the persistent challenge of manual memory management in high-performance web browsers. Furthermore, from a threat intelligence perspective utilizing MITRE ATT&CK frameworks, this vulnerability facilitates initial access and execution phases where adversaries utilize crafted web content to gain footholds on victim systems through drive-by download techniques or exploit kits that automate the delivery of such browser-based exploits. Continuous monitoring for similar patterns in emerging vulnerabilities within rendering engines remains essential as attackers frequently adapt their tactics to target memory safety issues in widely used software components like XSLT processors which handle complex document transformations and are integral to modern web application functionality.