CVE-2025-64501

Source
https://cve.org/CVERecord?id=CVE-2025-64501
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64501.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-64501
Aliases
Published
2025-11-10T21:37:01.010Z
Modified
2026-08-12T03:51:49.480619099Z
Severity
  • 7.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N CVSS Calculator
Summary
ProsemirrorToHtml: Cross-Site Scripting vulnerability through unescaped HTML attribute values
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64501.json"
}
References

Affected packages

Git / github.com/etaminstudio/prosemirror_to_html

Affected ranges

Type
GIT
Repo
https://github.com/etaminstudio/prosemirror_to_html
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.2.1"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64501.json"