GHSA-c8x8-7fp4-3x9w

Suggest an improvement
Source
https://github.com/advisories/GHSA-c8x8-7fp4-3x9w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-c8x8-7fp4-3x9w/GHSA-c8x8-7fp4-3x9w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c8x8-7fp4-3x9w
Aliases
Downstream
CGA (46)
Published
2026-10-05T22:36:06Z
Modified
2026-10-05T22:45:04Z
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 has a XSS vulnerability in prosemirror-view's paste handling
Details

Impact

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.

Patches

Version 1.42.3 adds validation that prevents this attack.

Workarounds

No known workarounds.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-05T22:36:06Z",
    "nvd_published_at": "2026-10-02T16:16:47Z",
    "severity": "HIGH"
}
References

Affected packages

npm / prosemirror-view

Package

Name
prosemirror-view
View open source insights on deps.dev
Purl
pkg:npm/prosemirror-view

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.42.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-c8x8-7fp4-3x9w/GHSA-c8x8-7fp4-3x9w.json"