CVE-2026-104847

Source
https://cve.org/CVERecord?id=CVE-2026-104847
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104847.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-104847
Aliases
Downstream
CGA (50)
ECHO (1)
MINI (1)
ROOT (1)
Published
2026-10-02T16:02:42Z
Modified
2026-10-28T02:31:00Z
Severity
  • 8.5 (High) CVSS_V4 - 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 CVSS Calculator
Summary
ProseMirror: XSS vulnerability in prosemirror-view's paste handling
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104847.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "1.42.3"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StringRangeExpression"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "1.42.3"
                        },
                        {
                            "fixed":  "1.42.3"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/prosemirror/prosemirror-view

Affected ranges

Type
GIT
Repo
https://github.com/prosemirror/prosemirror-view
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "2e91a612bbc1248e55b4f6061fc93fe459f977c1"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104847.json"