CVE-2025-64501
BaseFortify
Publication date: 2025-11-10
Last updated on: 2025-11-12
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| prosemirror | prosemirror_to_html | 0.2.0 |
| prosemirror | prosemirror_to_html | 0.2.1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability in prosemirror_to_html versions 0.2.0 and below is a Cross-Site Scripting (XSS) issue where malicious HTML attribute values are not properly escaped. While the tag content is escaped, attribute values can contain injected JavaScript code, allowing attackers to execute arbitrary scripts when the HTML is rendered.
How can this vulnerability impact me? :
This vulnerability can allow attackers to inject and execute arbitrary JavaScript code in applications that use prosemirror_to_html to convert ProseMirror JSON to HTML. This can lead to attacks on users viewing the rendered HTML, potentially compromising user data, session tokens, or performing actions on behalf of the user without their consent.
What immediate steps should I take to mitigate this vulnerability?
Upgrade the prosemirror_to_html gem to version 0.2.1 or later, as this version fixes the Cross-Site Scripting (XSS) vulnerability by properly escaping HTML attribute values.