Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. prosemirror-view
  4. ›
  5. CVE-2026-104847

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

October 5, 2026

When a user pastes attacker-provided HTML into a ProseMirror editor component, this can cause attacker-controlled JavaScript code to run in the browser window containing the editor.

References

  • github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7
  • github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061fc93fe459f977c1
  • github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w
  • github.com/advisories/GHSA-c8x8-7fp4-3x9w
  • nvd.nist.gov/vuln/detail/CVE-2026-104847

Code Behaviors & Features

Detect and mitigate CVE-2026-104847 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.42.3

Fixed versions

  • 1.42.3

Solution

Upgrade to version 1.42.3 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/prosemirror-view/CVE-2026-104847.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:11 +0000.