{"id":"CVE-2024-34392","aliases":["CVE-2024-34392","GHSA-mg49-jqgw-gcj6"],"related":[],"kind":"vulnerability","state":"published","title":"libxmljs namespaces type confusion RCE","summary":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","source":"cvelist"},{"lang":"en","text":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the `namespaces()` function (which invokes `_wrap__xmlNode_nsDef_get()`) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","format":"markdown","source":"ghsa"},{"lang":"es","text":"libxmljs es afectada por una vulnerabilidad de confusión de tipos cuando analiza un XML especialmente manipulado mientras se invoca la función namespaces() (que invoca _wrap__xmlNode_nsDef_get()) en un nieto de un nodo que hace referencia a una entidad. Esta vulnerabilidad puede provocar denegación de servicio y ejecución remota de código.","source":"nvd"}],"published":"2024-05-02T18:55:38.219Z","modified":"2026-06-17T07:33:18.353Z","severity":{"scorer":"JFROG","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"JFROG","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-843"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.0.11","status":"affected"}],"package":"libxmljs","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.0.11","status":"affected"}],"vendor":"libxmljs_project","product":"libxmljs","cpe":"cpe:2.3:a:libxmljs_project:libxmljs:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.11"}],"ecosystem":"npm","package":"libxmljs","purl":"pkg:npm/libxmljs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.11"}],"vendor":"libxmljs_project","product":"libxmljs","cpe":"cpe:2.3:a:libxmljs_project:libxmljs:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096/","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libxmljs/libxmljs/issues/646","tags":["exploit","issue-tracking","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34392","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/libxmljs/libxmljs","tags":["package"],"sources":["ghsa"]},{"url":"https://research.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"JFROG","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-07-09T17:55:53.747Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34392","url":"https://www.cve.org/CVERecord?id=CVE-2024-34392","licence":"CVE Terms of Use","modified":"2024-11-25T12:54:47.608Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mg49-jqgw-gcj6","url":"https://github.com/advisories/GHSA-mg49-jqgw-gcj6","licence":"CC-BY-4.0","modified":"2024-11-18T16:26:40.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34392","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34392","licence":"Public domain","modified":"2026-06-17T07:33:18.353Z"}],"updatedAt":"2026-11-25T22:58:39.908Z","epss":{"score":0.01136,"percentile":0.67441,"date":"2026-12-01T12:00:22.000Z"}}