Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@lexical/html

Latest version: v0.53.1-nightly.20261125.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: acywatson, etrepum, fantactuka, ipavlov001, trueadm, zurfyx
24,043 Stars
2,309 Forks
68 Versions
37.2M Downloads
TypeScript Repo language

Scan summary

@lexical/html was last scanned on 25 Nov 2026 at version 0.53.1-nightly.20261125.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 68 versions; the latest 4 were published within 6 days (20–25 Nov 2026).
  • Findings: No rules fired in version 0.53.1-nightly.20261125.0.
  • Downloads: 37,241,807 downloads.

Versions

68 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.53.1-nightly.20261125.0 LATEST 25 Nov 2026 No rules fired
0.53.1-nightly.20261124.0 24 Nov 2026 No rules fired
0.53.1-nightly.20261123.0 23 Nov 2026 No rules fired
0.53.1-nightly.20261120.0 20 Nov 2026 Not shown
0.53.1-nightly.20261118.0 18 Nov 2026 Not shown

No rules fired in 0.53.1-nightly.20261125.0

Findings

Findings for v0.53.1-nightly.20261125.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.53.1-nightly.20261125.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@lexical/html

HTML

This package exports utility functions for converting Lexical -> HTML and HTML -> Lexical. These same functions are also used in the lexical-clipboard package for copy and paste.

Full documentation can be found here.

Exporting
// In a headless mode, you need to initialize a headless browser implementation such as JSDom.
const dom = new JSDOM();
// @ts-expect-error
global.window = dom.window;
global.document = dom.window.document;
// You may also need to polyfill DocumentFragment or navigator in certain cases.

// When converting to HTML you can pass in a selection object to narrow it
// down to a certain part of the editor's contents.
const htmlString = $generateHtmlFromNodes(editor, selection | null);
Importing

First we need to parse the HTML string into a DOM instance.

// In the browser you can use the native DOMParser API to parse the HTML string.
const parser = new DOMParser();
const dom = parser.parseFromString(htmlString, textHtmlMimeType);

// In a headless environment you can use a package such as JSDom to parse the HTML string.
const dom = new JSDOM(htmlString);

And once you have the DOM instance.

const nodes = $generateNodesFromDOM(editor, dom);

// Once you have the lexical nodes you can initialize an editor instance with the parsed nodes.
const editor = createEditor({ ...config, nodes });

// Or insert them at a selection.
$insertNodes(nodes);

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @lexical/html

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229