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

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-10-02T16:02:42.475Z
- Modified: 2026-10-05T22:45:04.552Z
- Also known as: GHSA-c8x8-7fp4-3x9w
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ProseMirror prosemirror-view: < 1.42.3
- prosemirror-view (npm): before 1.42.3

## Every score

- GitHub_M: CVSS:4.0 8.5 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/ProseMirror/prosemirror-view/security/advisories/GHSA-c8x8-7fp4-3x9w> (web)
- <https://github.com/ProseMirror/prosemirror-view/commit/20dc0a911a79f8fc6640dbbea5e7d68d3c4784b7> (web)
- <https://github.com/ProseMirror/prosemirror-view/commit/2e91a612bbc1248e55b4f6061fc93fe459f977c1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-104847> (advisory)
- <https://github.com/ProseMirror/prosemirror-view> (package)

## Sources

- CVE List: [CVE-2026-104847](https://www.cve.org/CVERecord?id=CVE-2026-104847), CVE Terms of Use, modified 2026-10-02
- GitHub Advisory Database: [GHSA-c8x8-7fp4-3x9w](https://github.com/advisories/GHSA-c8x8-7fp4-3x9w), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-104847](https://nvd.nist.gov/vuln/detail/CVE-2026-104847), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2026-104847 · Whole record: https://cve.day/CVE-2026-104847.json · Rebuilt by cve.day 2026-11-25T22:59:41.984Z
