{"id":"CVE-2025-64501","published":"2025-11-10T21:37:01Z","modified":"2025-11-12T20:14:32Z","title":"ProsemirrorToHtml: Cross-Site Scripting vulnerability through unescaped HTML attribute values","vendor":"etaminstudio","product":"prosemirror_to_html","tier":"tail","description":{"text":"ProsemirrorToHtml is a JSON converter which takes ProseMirror-compatible JSON and outputs HTML. In versions 0.2.0 and below, the `prosemirror_to_html` gem is vulnerable to Cross-Site Scripting (XSS) attacks through malicious HTML attribute values. While tag content is properly escaped, attribute values are not, allowing attackers to inject arbitrary JavaScript code. Applications that use `prosemirror_to_html` to convert ProseMirror documents to HTML, user-generated ProseMirror content, and end users viewing the rendered HTML output are all at risk of attack. This issue is fixed in version 0.2.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00237,"percentile":0.14983,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/etaminstudio/prosemirror_to_html/security/advisories/GHSA-52c5-vh7f-26fx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/etaminstudio/prosemirror_to_html/commit/4d59f94f550bcabeec30d298791bbdd883298ad8","tags":["x_refsource_MISC"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":3.0},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"etaminstudio","affectedVersions":[{"vendor":"etaminstudio","product":"prosemirror_to_html","versions":["< 0.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-12T17:36:18.710858Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"prosemirror_to_html","vulnerableRanges":["<0.2.1"],"patched":["0.2.1"],"from":["GHSA-52c5-vh7f-26fx"],"provenance":"source"}],"summary":{"text":"The prosemirror_to_html gem, a Ruby JSON-to-HTML converter for ProseMirror documents from etaminstudio, fails to escape HTML attribute values, which enables cross-site scripting. An attacker who can supply a document with a malicious attribute value, and get a user to view the rendered output, can inject arbitrary JavaScript; this requires low privileges and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:39Z"},"euvd":{"id":"EUVD-2025-50824","exploited":false,"provenance":"source"}}