CVE-2025-64501
ProsemirrorToHtml: Cross-Site Scripting vulnerability through unescaped HTML attribute values
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.
INFO
Published Date :
Nov. 10, 2025, 10:15 p.m.
Last Modified :
Oct. 18, 2026, 9:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | MITRE-CVE |
Solution
- Update the prosemirror_to_html gem to version 0.2.1.
- Review and sanitize all HTML attribute values.
- Validate user-generated content before conversion.
- Test for potential JavaScript injection.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-64501.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-64501 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-64501
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-64501 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-64501 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 18, 2026
Action Type Old Value New Value Added Translation Title: ProseMirror_to_HTML de etaminstudio, Description: ProsemirrorToHtml es un conversor JSON que toma JSON compatible con ProseMirror y genera HTML. En las versiones 0.2.0 e inferiores, la gema 'prosemirror_to_html' es vulnerable a ataques de cross-site scripting (XSS) a través de valores de atributos HTML maliciosos. Aunque el contenido de las etiquetas se escapa correctamente, los valores de los atributos no lo están, permitiendo a los atacantes inyectar código JavaScript arbitrario. Las aplicaciones que utilizan 'prosemirror_to_html' para convertir documentos ProseMirror a HTML, el contenido ProseMirror generado por el usuario y los usuarios finales que visualizan la salida HTML renderizada están todos en riesgo de ataque. Este problema está solucionado en la versión 0.2.1. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'etaminstudio', 'product': 'prosemirror_to_html', 'versions': [{'status': 'affected', 'version': '< 0.2.1'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-64501', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2025-11-12T17:36:18.710858Z'} -
New CVE Received by [email protected]
Nov. 10, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N Added CWE CWE-79 Added Reference https://github.com/etaminstudio/prosemirror_to_html/commit/4d59f94f550bcabeec30d298791bbdd883298ad8 Added Reference https://github.com/etaminstudio/prosemirror_to_html/security/advisories/GHSA-52c5-vh7f-26fx