Skip to main content
VulnerabilityPublished Updated

CVE-2025-64501: etaminstudio prosemirror_to_html · Cross-site Scripting

Affects etaminstudio prosemirror_to_htmlSource CVE Database V5

0

Not known to be exploited · CVSS 7.6 High : upgrade to 0.2.1 soon.

Data as of 26 Oct 2026, 15:59 UTC

CVSS 3.1 base score
7.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.2.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade etaminstudio prosemirror_to_html to 0.2.1.

Affected software

ProductAffectedFixed in
RubyGemsprosemirror_to_htmlpkg:gem/prosemirror_to_htmlOther threatsAffected
  • <0.2.1
Fixed in
  • 0.2.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade the prosemirror_to_html gem to version 0.2.1 or later to ensure proper escaping of HTML attribute values. In addition to patching, developers should implement strict Content Security Policies (CSP) to restrict the execution of unauthorized scripts and reduce the impact of potential XSS attacks. Input validation and sanitization should be enforced at multiple layers, including server-side validation of ProseMirror JSON inputs before conversion. Web application firewalls (WAFs) can be configured to detect and block suspicious payloads targeting attribute injection vectors. Security teams should conduct code reviews and penetration testing focused on XSS vectors in applications using this gem. User awareness training to recognize phishing attempts can reduce the likelihood of successful exploitation requiring user interaction. Finally, monitoring and logging of web application activity should be enhanced to detect anomalous behavior indicative of exploitation attempts.

Description

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.

References

Community reviews

Loading reviews…