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/markdown

Latest version: v0.53.1-nightly.20261127.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: acywatson, etrepum, fantactuka, ipavlov001, trueadm, zurfyx
24,052 Stars
2,310 Forks
72 Versions
36.3M Downloads
TypeScript Repo language

Scan summary

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

  • Releases: 72 versions; the latest 5 were published within 5 days (23–27 Nov 2026).
  • Findings: No rules fired in version 0.53.1-nightly.20261127.0.
  • Downloads: 36,299,172 downloads.

Versions

72 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.53.1-nightly.20261127.0 LATEST 27 Nov 2026 No rules fired
0.53.1-nightly.20261126.0 26 Nov 2026 No rules fired
0.53.1-nightly.20261125.0 25 Nov 2026 No rules fired
0.53.1-nightly.20261124.0 24 Nov 2026 Not shown
0.53.1-nightly.20261123.0 23 Nov 2026 Not shown

No rules fired in 0.53.1-nightly.20261127.0

Findings

Findings for v0.53.1-nightly.20261127.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.20261127.0; other versions have their own rules, not their own score.

README

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

@lexical/markdown

This package contains markdown helpers for Lexical: import, export and shortcuts.

Import and export

import {
  $convertFromMarkdownString,
  $convertToMarkdownString,
  TRANSFORMERS,
} from '@lexical/markdown';

editor.update(() => {
  const markdown = $convertToMarkdownString(TRANSFORMERS);
  ...
});

editor.update(() => {
  $convertFromMarkdownString(markdown, TRANSFORMERS);
});

It can also be used for initializing editor's state from markdown string. Here's an example with react <RichTextPlugin>

<LexicalComposer initialConfig={{
  editorState: () => $convertFromMarkdownString(markdown, TRANSFORMERS)
}}>
  <RichTextPlugin />
</LexicalComposer>

Shortcuts

Can use <MarkdownShortcutPlugin> if using React

import { TRANSFORMERS } from '@lexical/markdown';
import {MarkdownShortcutPlugin} from '@lexical/react/LexicalMarkdownShortcutPlugin';

<LexicalComposer>
  <MarkdownShortcutPlugin transformers={TRANSFORMERS} />
</LexicalComposer>

Or registerMarkdownShortcuts to register it manually:

import {
  registerMarkdownShortcuts,
  TRANSFORMERS,
} from '@lexical/markdown';

const editor = createEditor(...);
registerMarkdownShortcuts(editor, TRANSFORMERS);

Transformers

Markdown functionality relies on transformers configuration. It's an array of objects that define how certain text or nodes are processed during import, export or while typing. @lexical/markdown package provides set of built-in transformers:

// Element transformers
UNORDERED_LIST
CODE
HEADING
ORDERED_LIST
QUOTE

// Text format transformers
BOLD_ITALIC_STAR
BOLD_ITALIC_UNDERSCORE
BOLD_STAR
BOLD_UNDERSCORE
INLINE_CODE
ITALIC_STAR
ITALIC_UNDERSCORE
STRIKETHROUGH

// Text match transformers
LINK

And bundles of commonly used transformers:

  • TRANSFORMERS - all built-in transformers
  • ELEMENT_TRANSFORMERS - all built-in element transformers
  • MULTILINE_ELEMENT_TRANSFORMERS - all built-in multiline element transformers
  • TEXT_FORMAT_TRANSFORMERS - all built-in text format transformers
  • TEXT_MATCH_TRANSFORMERS - all built-in text match transformers

Transformers are explicitly passed to markdown API allowing application-specific subset of markdown or custom transformers.

Default export protects numeric-reference, HTML and link syntax in text, including constructs split across text nodes. AT&T and a < b stay readable; named references keep their legacy import and export behavior. An ambiguous < or & at the end of a text node is escaped conservatively. Code and strings returned by custom transformers retain their existing serialization rules, as does the legacy source escaping of shouldPreserveNewLines. Import reads backslash escapes and decimal or hexadecimal references in one pass. Literal brackets and guarded </& use numeric references so escaping does not change adjacent emphasis flanking.

There're three types of transformers:

  • Element transformer handles top level elements (lists, headings, quotes, tables or code blocks)
  • Text format transformer applies text range formats defined in TextFormatType (bold, italic, underline, strikethrough, code, subscript and superscript)
  • Text match transformer relies on matching leaf text node content

See MarkdownTransformers.js for transformer implementation examples

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/markdown

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229