VDB

CVE-2026-104847

CVE-2026-104847 PUBLISHED CVSS 8.5 HIGH

ProseMirror: XSS vulnerability in prosemirror-view's paste handling

Reported by github_m · Published October 2, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
gitlab-rails-ce-fips-19.2Chainguard19.2.8-r2
commercial-gitlab-rails-ee-fips-19.3Chainguard19.3.3-r1
gitlab-rails-ce-fips-19.1Chainguard19.1.8-r9
gitlab-rails-ce-fips-18.9Chainguard18.9.8-r8
gitlab-rails-ce-19.4Chainguard19.4.3-r2
gitlab-rails-ce-fips-19.0Chainguard19.0.9-r3
gitlab-rails-ce-19.2Chainguard19.2.8-r1
commercial-gitlab-rails-ee-fips-19.4Chainguard19.4.1-r1
commercial-gitlab-rails-ee-19.1Chainguard19.1.7-r3
gitlab-rails-ce-fips-19.3Chainguard19.3.3-r8
gitlab-rails-ce-fips-19.4Chainguard19.4.1-r8
commercial-gitlab-rails-ee-fips-19.1Chainguard19.1.9-r0

2 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
8.5
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

Affected products

VendorProductVersions
ProseMirrorprosemirror-view< 1.42.3
chainguardgitlab-rails-ce-fips-19.20
chainguardcommercial-gitlab-rails-ee-fips-19.30
chainguardgitlab-rails-ce-fips-19.10
chainguardgitlab-rails-ce-fips-18.90
chainguardgitlab-rails-ce-19.40
chainguardgitlab-rails-ce-fips-19.00
chainguardgitlab-rails-ce-19.20
chainguardcommercial-gitlab-rails-ee-fips-19.40
chainguardcommercial-gitlab-rails-ee-19.10
chainguardgitlab-rails-ce-fips-19.30
chainguardgitlab-rails-ce-fips-19.40
chainguardcommercial-gitlab-rails-ee-fips-19.10
chainguardcommercial-gitlab-rails-ee-19.40
chainguardgitlab-rails-ce-fips-18.110
ProseMirrorprosemirror-view0
chainguardcommercial-gitlab-rails-ee-19.20
chainguardcommercial-gitlab-rails-ee-19.30
npmprosemirror-view0
chainguardcommercial-gitlab-rails-ee-fips-19.20

…and 2 more

Timeline

  • Oct 2, 2026 CVE Published
  • Oct 2, 2026 CVE Updated
  • Oct 3, 2026 EPSS Score (10 in total, the first dated here)
  • Oct 31, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-104847
vulnetix vdb fixes CVE-2026-104847

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-104847/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›