Read the docs
TI-2025-39893 Aliases CVE-2025-64501GHSA-52c5-vh7f-26fx

ProsemirrorToHtml: Cross-Site Scripting vulnerability through unescaped HTML attribute values

Priority LOW 33CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00237 14th percentileScored 2026-11-07
Fix Fixed prosemirror_to_html (etaminstudio): 0.2.1prosemirror_to_html (RubyGems): 0.2.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
etaminstudioprosemirror_to_htmlbefore 0.2.10.2.1Patch availableCNA
—prosemirror_to_html (RubyGems)before 0.2.10.2.1Patch availableGHSA-52c5-vh7f-26fx
  • prosemirror_to_html Vendoretaminstudio Affected before 0.2.1 Fixed in 0.2.1 Patch available CNA
  • prosemirror_to_html (RubyGems) Vendor— Affected before 0.2.1 Fixed in 0.2.1 Patch available GHSA-52c5-vh7f-26fx

Remediation

  • Fix · CNA prosemirror_to_html (etaminstudio) Fixed in 0.2.1
  • Fix · GHSA-52c5-vh7f-26fx prosemirror_to_html (RubyGems) Fixed in 0.2.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-64501
  2. 2026-10-03 Alias added: GHSA-52c5-vh7f-26fx

References

Sources