CVSS 4.0
6.9 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NMedium (6.9) in unifiedjs mdast-util-to-hast. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in mdast-util-to-hast 13.2.1.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Nmdast-util-to-hast (npm): fixed in 13.2.1Explain CVE-2025-66400 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-66400?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-66400?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-66400 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| unifiedjs:mdast-util-to-hast | from 13.0.0 before 13.2.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4fh9-h7wg-q85m | npm | mdast-util-to-hast | >=13.0.0 <13.2.1 | 13.2.1 |
Red Hat rates this Moderate.
This vulnerability is rated Moderate for Red Hat products. The `mdast-util-to-hast` library, in versions 13.0.0 to before 13.2.1, allows unsanitized class attributes in user-supplied markdown. This could enable an attacker to alter the visual presentation of rendered markdown code elements, potentially leading to user interface spoofing.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Gatekeeper 3 | gatekeeper/gatekeeper-rhel9 | Fix deferred | |
| Migration Toolkit for Applications 7 | mta/mta-ui-rhel9 | Fix deferred | |
| Migration Toolkit for Applications 8 | mta/mta-ui-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-api-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-api-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-db-migration-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-db-migration-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/aap-cloud-ui-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/gateway-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-gateway | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-hub | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-platform-ui | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | python3.11-galaxy-ng | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | python3x-galaxy-ng | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | python-galaxy-ng | Fix deferred | |
| Red Hat build of Apache Camel - HawtIO 4 | io.hawt-project | Fix deferred | |
| 10 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-66400.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).