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-2026-88976

CVE-2026-88976: HTML Deserialization Cross-Site Scripting in @platejs/core

Amit Schendel
Amit Schendel
Senior Security Researcher

Sep 18, 2026·6 min read·19 visits

Executive Summary (TL;DR)

A flaw in the HTML deserialization routines of @platejs/core prior to 53.3.11 allowed remote attackers to execute arbitrary client-side scripts via unauthenticated user interaction with crafted HTML payloads.

Plate core HTML deserialization APIs parse supplied HTML strings in the active document. When an application passes untrusted or cross-user HTML to these APIs, certain HTML attributes can trigger browser behavior before the HTML is converted into editor nodes.

Vulnerability Overview

The vulnerability identified as CVE-2026-88976 is an improper neutralization of input during web page generation (Cross-Site Scripting, CWE-79) within the @platejs/core library, a package of the udecode/plate rich-text editor framework. The vulnerability specifically resides within the HTML deserialization utility functions, which convert raw HTML strings into structured editor nodes. Applications using this package to parse and render user-submitted HTML strings are susceptible to client-side code execution.

The attack surface is exposed whenever an application accepts HTML from untrusted sources or other users and passes it to the Plate deserialization APIs. This often occurs during common editor interactions such as pasting formatted content from the clipboard, uploading HTML templates, or rendering persistent documents stored in a shared database. Under vulnerable configurations, the parser operates within the active document scope, triggering immediate code execution before sanitization controls can be applied.

This security flaw carries a Common Vulnerability Scoring System (CVSS) base score of 6.1, indicating a moderate risk level. The exploit complexity is classified as low, and no special authentication privileges are required to initiate the attack vector. However, exploitation relies on user interaction, requiring a target user to view the malicious payload within their active browser session.

Root Cause Analysis

The core deficiency resides in the mechanism utilized by @platejs/core to parse HTML strings prior to version 53.3.11. The library relied on standard DOM manipulation APIs associated with the active window context to parse the string. Specifically, functions such as htmlStringToDOMNode created a body element using document.createElement('body') and subsequently assigned the untrusted HTML payload directly to its innerHTML property.

When raw HTML is assigned to the innerHTML property of an element linked to the active document, the browser's HTML parser executes side effects immediately. Although standard <script> tags are not executed when inserted via innerHTML, other elements with executable lifecycle event handlers, such as <img src="invalid" onerror="..."> or elements that permit raw JavaScript execution such as <svg><script>...</script></svg>, are executed without restriction. This occurs because the elements are processed within the scripting-enabled context of the active window object.

The browser handles these elements as active components of the current document tree, causing synchronous loading of external resources and immediate execution of associated event handlers. This behavior precedes any secondary processing or structured conversion performed by the Slate editor. The root of the vulnerability is the lack of an inert parsing context, allowing malicious vectors to achieve execution during the initial parsing phase.

Code Analysis

In vulnerable versions of @platejs/core, the functions responsible for translating strings into DOM structures processed inputs directly in the active browser document. Below is the vulnerable implementation found in packages/core/src/lib/plugins/html/utils/htmlStringToDOMNode.ts.

// Vulnerable Implementation
export const htmlStringToDOMNode = (rawHtml: string) => {
  const node = document.createElement('body');
  // Vulnerability: innerHTML assignment in the active document triggers immediate execution
  node.innerHTML = rawHtml;
 
  return node;
};

To resolve this issue, the package developers shifted parsing operations from the active window context to an inert document context. The patch introduces DOMParser to parse the markup, which natively suppresses script execution and external resource loading. Below is the patched implementation of the utility functions.

// Patched Implementation
import { parseHtmlDocument } from './parseHtmlDocument';
 
export const htmlStringToDOMNode = (rawHtml: string) =>
  parseHtmlDocument(rawHtml).body;

The helper function parseHtmlDocument operates as follows:

export const parseHtmlDocument = (html: string): Document => {
  // Parsing with DOMParser inside an inert text/html context disables script execution
  return new DOMParser().parseFromString(html, 'text/html');
};

Similarly, the static deserialization routine in packages/core/src/static/deserialize/htmlStringToEditorDOM.ts was updated to utilize the inert context.

// Patched static deserializer
export const getEditorDOMFromHtmlString = (html: string) => {
  const document = new DOMParser().parseFromString(html, 'text/html');
  const editorNode = document.querySelector('[data-slate-editor="true"]');
 
  return editorNode as HTMLElement;
};

This architectural change guarantees that any executable payload remains inactive during the deserialization phase.

Exploitation Methodology

Exploiting this vulnerability requires the attacker to inject a crafted HTML string containing an event-based payload into an application interface that parses user input via the vulnerable Plate core utility functions. For example, the attacker can leverage copy-and-paste mechanisms or input fields that submit content to be stored and subsequently processed.

The attack flow is structured as follows:

During the innerHTML assignment, the browser resolves the malformed DOM nodes and triggers the event handlers immediately. This allows the attacker to execute arbitrary JavaScript in the context of the client session.

For exploitation to succeed, the target user must load a view containing the malicious markup. There are no other prerequisites, such as specialized software configurations or elevated system privileges. The payload operates entirely within the security origin of the consuming application, enabling actions such as session hijacking, unauthorized token retrieval, or DOM tampering.

Impact Assessment

The impact of a successful exploitation of CVE-2026-88976 corresponds directly to standard Client-Side Cross-Site Scripting. An attacker executing arbitrary script in the context of the application's origin can access sensitive data stored in local storage, session storage, or document cookies. This access enables the compromise of user sessions and authorization tokens.

Additionally, the script can perform actions on behalf of the victim, such as modifying UI elements, keylogging, or sending unauthorized API requests. This threat is particularly significant in applications that manage sensitive financial, personal, or administrative data. Because the scope of the vulnerability changes from the application to the client-side browser environment, the Scope (S) metric in the CVSS vector is rated as Changed.

Currently, the exploit status of this vulnerability is documented as proof-of-concept. There is no public threat intelligence indicating active exploitation in wild ransomware campaigns or inclusion in the CISA Known Exploited Vulnerabilities catalog. Nevertheless, the ease of crafting compatible HTML payloads maintains a continuous risk for unpatched deployments.

Remediation and Defense-in-Depth

The primary remediation strategy is to upgrade @platejs/core to version 53.3.11 or later. For projects currently utilizing beta builds from the 54.0.0 branch, developers must revert to the patched stable version or apply custom overrides to ensure that parsing is routed through an inert DOMParser instance.

It is critical to recognize that inert parsing prevents code execution only during the deserialization process. It does not sanitize the resulting structure. Callers remain fully responsible for the content they subsequently render to the active DOM. Consequently, a secondary sanitization layer such as DOMPurify must be implemented before rendering deserialized editor nodes.

import DOMPurify from 'dompurify';
const sanitizedHtml = DOMPurify.sanitize(untrustedHtml);

Furthermore, developers should configure Content Security Policy (CSP) headers to restrict script sources and eliminate inline scripts. Restricting URL schemas within custom Slate configuration blocks is also recommended to prevent the execution of javascript: links during user interactions. These defense-in-depth measures provide defense if a sanitizer bypass occurs.

Official Patches

udecodePull Request addressing the XSS flaw
udecodeRelease notes containing the fix patch

Fix Analysis (1)

Technical Appendix

CVSS Score
6.1/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected Systems

@platejs/core

Affected Versions Detail

Product
Affected Versions
Fixed Version
@platejs/core
udecode
< 53.3.1153.3.11
@platejs/core
udecode
>= 54.0.0-beta.0 <= 54.0.0-beta.153.3.11
AttributeDetail
CWE IDCWE-79
Attack VectorNetwork (AV:N)
CVSS Score6.1 (Medium)
EPSS ScoreN/A
Exploit StatusPoC (Proof-of-Concept)
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1189Drive-by Compromise
Initial Access
T1185Browser Session Hijacking
Collection
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The product does not sanitize or incorrectly sanitizes user-controlled input before including it in a web page during parsing, which allows dynamic scripting elements to run.

Vulnerability Timeline

Vulnerability identified and patch merged
2026-02-18
Version 53.3.11 released with fix
2026-02-18

References & Sources

  • [1]GitHub Security Advisory (GHSA-qrfj-mgw8-j9c6)
  • [2]NVD Record
  • [3]CVE Org Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•2 minutes 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
0 views•10 min read
•14 minutes 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
0 views•9 min read
•about 1 hour 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 2 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 3 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
•about 4 hours ago•CVE-2026-114158
8.8

CVE-2026-114158: Heap-Based Buffer Overflow in Microsoft.DiaSymReader.Native Portable PDB Parser

CVE-2026-114158 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple supported servicing branches of Microsoft .NET (.NET 8.0, 9.0, 10.0, and 11.0) on Windows. The flaw resides in the native symbol reader library, Microsoft.DiaSymReader.Native, and is triggered when parsing Portable Program Database (PDB) metadata containing malformed EmbeddedSource custom debug information records. By supplying a parent Record Identifier (RID) of zero or an out-of-bounds value, an attacker causes an integer underflow during 1-based to 0-based index conversion, leading to a heap-based buffer overflow and arbitrary code execution within the context of the host developer tool or runtime.

Amit Schendel
Amit Schendel
4 views•10 min read