{"id":"CVE-2026-48590","aliases":["CVE-2026-48590","EEF-CVE-2026-48590","GHSA-r82p-3q2p-728w"],"related":[],"kind":"vulnerability","state":"published","title":"Element and Attribute Names Injected Verbatim into XML Output in xml_builder","summary":"XML Injection vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, XML Injection.\n\nThis vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.element/1, XmlBuilder.element/2, XmlBuilder.element/3.\n\nElement names, attribute names, and doctype identifiers are interpolated verbatim into the serialized XML output without validation or escaping of structural characters (<, >, \", ', &). An attacker who can influence a name argument (for example, an element name derived from a JSON object key or an HTTP form field name) can inject arbitrary XML markup including extra elements, comments, and event-handler attributes into the output document.\n\nThis issue affects xml_builder: from 0.0.1 before 2.4.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XML Injection vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, XML Injection.\n\nThis vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.element/1, XmlBuilder.element/2, XmlBuilder.element/3.\n\nElement names, attribute names, and doctype identifiers are interpolated verbatim into the serialized XML output without validation or escaping of structural characters (<, >, \", ', &). An attacker who can influence a name argument (for example, an element name derived from a JSON object key or an HTTP form field name) can inject arbitrary XML markup including extra elements, comments, and event-handler attributes into the output document.\n\nThis issue affects xml_builder: from 0.0.1 before 2.4.1.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nXML Injection vulnerability in joshnuss xml_builder (`XmlBuilder` module) allows Content Spoofing, XML Injection.\n\nThis vulnerability is associated with program files `lib/xml_builder.ex` and program routines `XmlBuilder.generate/1`, `XmlBuilder.generate/2`, `XmlBuilder.element/1`, `XmlBuilder.element/2`, `XmlBuilder.element/3`.\n\nElement names, attribute names, and doctype identifiers are interpolated verbatim into the serialized XML output without validation or escaping of structural characters (`<`, `>`, `\"`, `'`, `&`). An attacker who can influence a name argument (for example, an element name derived from a JSON object key or an HTTP form field name) can inject arbitrary XML markup including extra elements, comments, and event-handler attributes into the output document.\n\nThis issue affects xml_builder: from 0.0.1 before 2.4.1.","format":"markdown","source":"eef"},{"lang":"es","text":"Vulnerabilidad de inyección XML en joshnuss xml_builder (módulo XmlBuilder) permite la suplantación de contenido, inyección XML.\n\nEsta vulnerabilidad está asociada con los archivos de programa lib/xml_builder.ex y las rutinas de programa XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.element/1, XmlBuilder.element/2, XmlBuilder.element/3.\n\nLos nombres de elementos, nombres de atributos e identificadores de tipo de documento (doctype) se interpolan textualmente en la salida XML serializada sin validación ni escape de caracteres estructurales (<, >, ', ', &). Un atacante que puede influir en un argumento de nombre (por ejemplo, un nombre de elemento derivado de una clave de objeto JSON o un nombre de campo de formulario HTTP) puede inyectar marcado XML arbitrario incluyendo elementos adicionales, comentarios y atributos de gestor de eventos en el documento de salida.\n\nEste problema afecta a xml_builder: desde 0.0.1 anterior a 2.4.1.","source":"nvd"}],"published":"2026-08-21T09:51:25.412Z","modified":"2026-11-26T17:23:03.211Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","score":2.1,"rating":"LOW"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","score":2.1,"rating":"LOW"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N"}],"cwes":["CWE-91"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.1","fixed":"2.4.1","status":"affected"}],"vendor":"joshnuss","product":"xml_builder","package":"xml_builder","cpe":"cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*","repo":"https://github.com/joshnuss/xml_builder","source":"cvelist"},{"ranges":[{"type":"git","introduced":"9fb49131ad3ee146a4c9db9bc175bdffe32e30a0","fixed":"d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859","status":"affected"}],"vendor":"joshnuss","product":"xml_builder","package":"joshnuss/xml_builder","cpe":"cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*","repo":"https://github.com/joshnuss/xml_builder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.0.1","status":"affected","fixed":"2.4.1"}],"ecosystem":"Hex","package":"xml_builder","purl":"pkg:hex/xml_builder","source":"eef"},{"ranges":[{"type":"git","introduced":"9fb49131ad3ee146a4c9db9bc175bdffe32e30a0","status":"affected","fixed":"d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859"}],"repo":"https://github.com/joshnuss/xml_builder","source":"eef"}],"references":[{"url":"https://github.com/joshnuss/xml_builder/security/advisories/GHSA-r82p-3q2p-728w","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-48590.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48590","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/joshnuss/xml_builder/commit/9fb49131ad3ee146a4c9db9bc175bdffe32e30a0","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/joshnuss/xml_builder/commit/d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/xml_builder","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Joshua Nussbaum"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-21T12:24:58.189Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48590","url":"https://www.cve.org/CVERecord?id=CVE-2026-48590","licence":"CVE Terms of Use","modified":"2026-11-19T08:43:18.090Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-48590","url":"https://osv.dev/vulnerability/EEF-CVE-2026-48590","licence":"CC-BY-4.0","modified":"2026-11-26T17:23:03.211Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48590","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48590","licence":"Public domain","modified":"2026-11-19T09:17:45.330Z"}],"updatedAt":"2026-11-26T17:37:06.732Z","epss":{"score":0.00226,"percentile":0.14261,"date":"2026-12-01T12:00:22.000Z"}}