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.
{
"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"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "2e91a612bbc1248e55b4f6061fc93fe459f977c1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}