# CVE-2025-64501: ProsemirrorToHtml: Cross-Site Scripting vulnerability through unescaped HTML attribute values

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-11-06T15:44:35.000Z
- Modified: 2026-10-18T21:10:00.120Z
- Also known as: GHSA-52c5-vh7f-26fx
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- etaminstudio prosemirror_to_html: < 0.2.1
- prosemirror_to_html (RubyGems): before 0.2.1

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/etaminstudio/prosemirror_to_html/security/advisories/GHSA-52c5-vh7f-26fx> (web)
- <https://github.com/etaminstudio/prosemirror_to_html/commit/4d59f94f550bcabeec30d298791bbdd883298ad8> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64501> (advisory)
- <https://github.com/etaminstudio/prosemirror_to_html> (package)
- <https://github.com/etaminstudio/prosemirror_to_html/blob/ea8beb32f6c37f29f042ba4155ccf18504da716e/lib/prosemirror_to_html.rb#L249> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/prosemirror_to_html/CVE-2025-64501.yml> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/prosemirror_to_html/GHSA-vfpf-xmwh-8m65.yml> (web)

## Sources

- CVE List: [CVE-2025-64501](https://www.cve.org/CVERecord?id=CVE-2025-64501), CVE Terms of Use, modified 2025-11-12
- GitHub Advisory Database: [GHSA-52c5-vh7f-26fx](https://github.com/advisories/GHSA-52c5-vh7f-26fx), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2025-64501](https://nvd.nist.gov/vuln/detail/CVE-2025-64501), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-64501 · Whole record: https://cve.day/CVE-2025-64501.json · Rebuilt by cve.day 2026-11-25T22:59:07.418Z
