CVE-2025-66400 mdast-util-to-hast unsanitized class attribute
MediumCVSS 6.9
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
Description
mdast-util-to-hast is an mdast utility to transform to hast. From 13.0.0 to before 13.2.1, multiple (unprefixed) classnames could be added in markdown source by using character references. This could make rendered user supplied markdown code elements appear like the rest of the page. This vulnerability is fixed in 13.2.1.
Upgrade path
33 packages: 2 fixed, 30 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform-25/aap-cloud-ui-rhel8(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/gateway-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-gateway(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-hub(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/automation-platform-ui(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/gatekeeper/gatekeeper-rhel9(Red Hat gatekeeper 3) | All versions | No fix listed | No fix yet |
| redhat/io.hawt-project(Red Hat apache_camel_hawtio 4) | All versions | No fix listed | No fix yet |
| redhat/mta/mta-ui-rhel9(Red Hat migration_toolkit_applications 7) | All versions | No fix listed | No fix yet |
| redhat/mta/mta-ui-rhel9(Red Hat migration_toolkit_applications 8) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9(Red Hat openshift_lightspeed 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-lightspeed/lightspeed-console-plugin-rhel9(Red Hat openshift_lightspeed 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-api-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-api-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-db-migration-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-db-migration-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel9(Red Hat openshift_pipelines 1) | All versions | No fix listed | No fix yet |
| redhat/openshift4/ose-agent-installer-ui-rhel9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/org.keycloak-keycloak-parent(Red Hat jboss_enterprise_application_platform 8) | All versions | No fix listed | No fix yet |
| redhat/org.keycloak-keycloak-parent(Red Hat jbosseapxp) | All versions | No fix listed | No fix yet |
| redhat/python-galaxy-ng(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/python3.11-galaxy-ng(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/python3x-galaxy-ng(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/quay/quay-rhel8(Red Hat quay 3) | All versions | No fix listed | No fix yet |
| redhat/rhdh/rhdh-hub-rhel9(Red Hat rhdh 1) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhtpa/rhtpa-trustification-service-rhel9(Red Hat trusted_profile_analyzer 2) | All versions | No fix listed | No fix yet |
| redhat/satellite/iop-advisor-frontend-rhel9(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
… and 3 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mdast-util-to-hast(npm) | >= 13.0.0, < 13.2.1 | 13.2.1 |
| syntax-tree mdast-util-to-hast | = >= 13.0.0, < 13.2.1 | No fix listed |
| redhat/gatekeeper/gatekeeper-rhel9(Red Hat:gatekeeper:3) | All versions | No fix listed |
| redhat/mta/mta-ui-rhel9(Red Hat:migration_toolkit_applications:7) | All versions | No fix listed |
| redhat/mta/mta-ui-rhel9(Red Hat:migration_toolkit_applications:8) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-lightspeed/lightspeed-console-plugin-rhel9(Red Hat:openshift_lightspeed:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-api-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-api-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-db-migration-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-db-migration-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/aap-cloud-ui-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/gateway-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-gateway(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-hub(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/python3.11-galaxy-ng(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/python3x-galaxy-ng(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/python-galaxy-ng(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/io.hawt-project(Red Hat:apache_camel_hawtio:4) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9(Red Hat:rhdh:1) | All versions | No fix listed |
| redhat/org.keycloak-keycloak-parent(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/org.keycloak-keycloak-parent(Red Hat:jbosseapxp) | All versions | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/openshift4/ose-agent-installer-ui-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/quay/quay-rhel8(Red Hat:quay:3) | All versions | No fix listed |
| redhat/satellite/iop-advisor-frontend-rhel9(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/rhtpa/rhtpa-trustification-service-rhel9(Red Hat:trusted_profile_analyzer:2) | All versions | No fix listed |
| unifiedjs mdast-util-to-hast | >= 13.0.0, < 13.2.1 | 13.2.1 |
References
- https://github.com/syntax-tree/mdast-util-to-hast/security/advisories/GHSA-4fh9-h7wg-q85m vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/syntax-tree/mdast-util-to-hast/commit/6fc783ae6abdeb798fd5a68e7f3f21411dde7403 patch
- https://github.com/syntax-tree/mdast-util-to-hast/commit/ab3a79570a1afbfa7efef5d4a0cd9b5caafbc5d7 patch
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2418157 issue-tracking
- www.cve.org
- github.com product