Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-104847— ProseMirror: XSS vulnerability in prosemirror-view's paste handling

Quick assessment

Affected
ProseMirror prosemirror-view
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ProseMirror 的视图组件负责渲染和管理 ProseMirror 文档的可编辑浏览器界面。在 1.42.3 版本之前,prosemirror-view 的粘贴处理功能会接受攻击者提供的 HTML 内容,其中剪贴板切片上下文包含的某些属性未通过 schema 属性验证。当用户将精心构造的 HTML 粘贴到编辑器中时,这些未经校验的上下文属性可能生成包含攻击者控制的 JavaScript 代码的内容,从而在包含编辑器的浏览器窗口中执行恶意脚本。该问题已在 1.42.3 版本中得到修复。

CVSS 8.5 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
ProseMirror prosemirror-view < 1.42.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-104847

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ProseMirror: XSS vulnerability in prosemirror-view's paste handling
Source: CVE Program / CVE List V5
Vulnerability Description
ProseMirror's view component renders and manages the editable browser interface for ProseMirror documents. Prior to 1.42.3, prosemirror-view paste handling accepts attacker-provided HTML whose clipboard slice context contains attributes that are not passed through schema attribute validation. When a user pastes the crafted HTML into an editor, the unvalidated context attributes can construct content that executes attacker-controlled JavaScript in the browser window containing the editor. This issue is fixed in version 1.42.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
ProseMirror prosemirror-view < 1.42.3 -

II. Public POCs for CVE-2026-104847

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-104847

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-104847 (2)

Vendor Advisories for CVE-2026-104847 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-104847

No comments yet


Leave a comment