{"schemaVersion":3,"id":"CVE-2025-66400","aliases":["CGA-32vx-m24g-ccch","CGA-3q58-9hwp-5jpf","CGA-4579-vqpr-rhpr","CGA-593h-xrrp-crq5","CGA-6rm5-c78m-825p","CGA-8fr2-5r72-j2j5","CGA-8jhg-j76w-g6jw","CGA-j8cp-2833-254w","CGA-jfhv-w3g5-fxxf","CGA-m566-hvp5-m4m7","GHSA-4fh9-h7wg-q85m","CGA-2pqj-2q5g-34m3","CGA-3gq2-jcmj-2954","CGA-3mqm-94jj-c7f9","CGA-4ffq-wpg4-58rc","CGA-5337-5fg9-q72v","CGA-5jqr-427r-wxfg","CGA-66w7-5x56-p3g2","CGA-6xgr-4chp-cr2h","CGA-7g6c-f592-qr2r","CGA-f74c-72v8-w96v","CGA-fg7w-3635-5vqc","CGA-gf48-6pv4-c57j","CGA-jp32-prr9-f2vf","CGA-jp97-9x4j-72hj","CGA-jqhc-9859-xvx5","CGA-m3jv-h2cm-f8w5","CGA-mw2m-3hjm-mqph","CGA-vv86-c394-cxg9","CGA-w6hh-338w-hrcm","CGA-wgrp-chfh-mh4j","CGA-xmwv-2589-jr5j"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-12-01T22:17:42.705Z","modified":"2025-12-02T15:34:24.293Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00305,"percentile":0.21857,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00305},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00305,"percentile":0.21857}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00305,"percentile":0.21857}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes","description":"The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/915.html"}],"affected":[{"vendor":"chainguard","product":"drupal-11.3","name":"drupal-11.3","label":"drupal-11.3","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/drupal-11.3","purlType":"apk","versions":[{"text":"< 11.3.13-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 11.3.13-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-26.6","name":"keycloak-26.6","label":"keycloak-26.6","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.6","purlType":"apk","versions":[{"text":"< 26.6.4-r17","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.6.4-r17","eol":null,"hubHref":null},{"vendor":"chainguard","product":"keycloak-26.6-iamguarded-compat","name":"keycloak-26.6-iamguarded-compat","label":"keycloak-26.6-iamguarded-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak-26.6-iamguarded-compat","purlType":"apk","versions":[{"text":"< 26.6.4-r17","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.6.4-r17","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-2","name":"langfuse-2","label":"langfuse-2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-2","purlType":"apk","versions":[{"text":"< 2.95.12-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.95.12-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-2-compat","name":"langfuse-2-compat","label":"langfuse-2-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-2-compat","purlType":"apk","versions":[{"text":"< 2.95.12-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.95.12-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-3","name":"langfuse-3","label":"langfuse-3","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-3","purlType":"apk","versions":[{"text":"< 3.137.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.137.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-3-compat","name":"langfuse-3-compat","label":"langfuse-3-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-3-compat","purlType":"apk","versions":[{"text":"< 3.137.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.137.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-3-worker","name":"langfuse-3-worker","label":"langfuse-3-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-3-worker","purlType":"apk","versions":[{"text":"< 3.137.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.137.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-fips-2","name":"langfuse-fips-2","label":"langfuse-fips-2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-fips-2","purlType":"apk","versions":[{"text":"< 2.95.12-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.95.12-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-fips-2-compat","name":"langfuse-fips-2-compat","label":"langfuse-fips-2-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-fips-2-compat","purlType":"apk","versions":[{"text":"< 2.95.12-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.95.12-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-fips-2-worker","name":"langfuse-fips-2-worker","label":"langfuse-fips-2-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-fips-2-worker","purlType":"apk","versions":[{"text":"< 2.95.12-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.95.12-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"librechat","name":"librechat","label":"librechat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/librechat","purlType":"apk","versions":[{"text":"< 0.8.0-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.0-r6","eol":null,"hubHref":null},{"vendor":"chainguard","product":"librechat-compat","name":"librechat-compat","label":"librechat-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/librechat-compat","purlType":"apk","versions":[{"text":"< 0.8.0-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.0-r6","eol":null,"hubHref":null},{"vendor":"chainguard","product":"librechat-dev","name":"librechat-dev","label":"librechat-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/librechat-dev","purlType":"apk","versions":[{"text":"< 0.8.0-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.0-r6","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nextcloud-server-31","name":"nextcloud-server-31","label":"nextcloud-server-31","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nextcloud-server-31","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak-26.6","name":"keycloak-26.6","label":"keycloak-26.6","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak-26.6","purlType":"apk","versions":[{"text":"< 26.6.4-r17","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.6.4-r17","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak-26.6-iamguarded-compat","name":"keycloak-26.6-iamguarded-compat","label":"keycloak-26.6-iamguarded-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak-26.6-iamguarded-compat","purlType":"apk","versions":[{"text":"< 26.6.4-r17","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 26.6.4-r17","eol":null,"hubHref":null},{"vendor":"wolfi","product":"langfuse-3","name":"langfuse-3","label":"langfuse-3","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/langfuse-3","purlType":"apk","versions":[{"text":"< 3.137.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.137.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"langfuse-3-compat","name":"langfuse-3-compat","label":"langfuse-3-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/langfuse-3-compat","purlType":"apk","versions":[{"text":"< 3.137.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.137.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"langfuse-3-worker","name":"langfuse-3-worker","label":"langfuse-3-worker","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/langfuse-3-worker","purlType":"apk","versions":[{"text":"< 3.137.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.137.0-r1","eol":null,"hubHref":null},{"vendor":"Npm","product":"mdast-util-to-hast","name":"mdast-util-to-hast","label":"mdast-util-to-hast","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/mdast-util-to-hast","purlType":"npm","versions":[{"text":"≥ 13.0.0, < 13.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 13.0.0, < 13.2.1","eol":null,"hubHref":null},{"vendor":"syntax-tree","product":"mdast-util-to-hast","name":"mdast-util-to-hast","label":"mdast-util-to-hast","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 13.0.0, < 13.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 13.0.0, < 13.2.1","eol":null,"hubHref":"/vendor/syntax-tree/mdast-util-to-hast"},{"vendor":"unifiedjs","product":"mdast-util-to-hast","name":"mdast-util-to-hast","label":"mdast-util-to-hast","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 13.0.0, < 13.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 13.0.0, < 13.2.1","eol":null,"hubHref":"/vendor/unifiedjs/mdast-util-to-hast"}],"affectedCount":23,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/syntax-tree/mdast-util-to-hast/security/advisories/GHSA-4fh9-h7wg-q85m","label":"github.com/syntax-tree/mdast-util-to-hast/security/advisories/GHSA-4fh9-h7wg-q85m","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Vendor Advisory"]},{"url":"https://github.com/syntax-tree/mdast-util-to-hast/commit/6fc783ae6abdeb798fd5a68e7f3f21411dde7403","label":"github.com/syntax-tree/mdast-util-to-hast/commit/6fc783ae6abdeb798fd5a68e7f3f21411dde7403","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/syntax-tree/mdast-util-to-hast/commit/ab3a79570a1afbfa7efef5d4a0cd9b5caafbc5d7","label":"github.com/syntax-tree/mdast-util-to-hast/commit/ab3a79570a1afbfa7efef5d4a0cd9b5caafbc5d7","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66400.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66400.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66400","label":"nvd.nist.gov/vuln/detail/CVE-2025-66400","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/syntax-tree/mdast-util-to-hast","label":"github.com/syntax-tree/mdast-util-to-hast","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-4HFG-GX73-RGQ3"]},"timeline":[{"kind":"published","date":"2025-12-01T22:17:42.705Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-02T15:34:24.293Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T07:02:48.766Z","stale":false,"partial":false}}