CVE-2025-64501
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.6
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2025-11-10 22:15:37.683000
Last modified
2026-10-18 21:10:00.120000
View original CVE JSON
{
"id": "CVE-2025-64501",
"sourceIdentifier": "[email protected]",
"published": "2025-11-10T22:15:37.683",
"lastModified": "2026-10-18T21:10:00.120",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "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."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "etaminstudio",
"product": "prosemirror_to_html",
"versions": [
{
"version": "< 0.2.1",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N",
"baseScore": 7.6,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.3,
"impactScore": 4.7
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-11-12T17:36:18.710858Z",
"id": "CVE-2025-64501",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"references": [
{
"url": "https://github.com/etaminstudio/prosemirror_to_html/commit/4d59f94f550bcabeec30d298791bbdd883298ad8",
"source": "[email protected]"
},
{
"url": "https://github.com/etaminstudio/prosemirror_to_html/security/advisories/GHSA-52c5-vh7f-26fx",
"source": "[email protected]"
}
]
}