{"id":"CVE-2026-44665","aliases":["CVE-2026-44665","GHSA-5wm8-gmm8-39j9"],"related":[],"kind":"vulnerability","state":"published","title":"fast-xml-builder: Attribute values with unwanted quotes can bypass malicious or unwanted attributes","summary":"fast-xml-builder builds XML from JSON. Prior to 1.1.7, when an input data has quotes in attribute values but process entities is not enabled, it breaks the attribute value into multiple attributes. This gives the room for an attacker to insert unwanted attributes to the XML/HTML. This vulnerability is fixed in 1.1.7.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"fast-xml-builder builds XML from JSON. Prior to 1.1.7, when an input data has quotes in attribute values but process entities is not enabled, it breaks the attribute value into multiple attributes. This gives the room for an attacker to insert unwanted attributes to the XML/HTML. This vulnerability is fixed in 1.1.7.","source":"cvelist"},{"lang":"en","text":"# Summary\nWhen an input data has quotes in attribute values but process entities is not enabled, it breaks the attribute value into multiple attributes. This gives the room for an attacker to insert unwanted attributes to the XML/HTML.\n\n## Detail\n\nMalicious Input\n```\n{\n      a: {\n        \"@_attr\": '\" onClick=\"alert(1)'\n      }\n}\n```\n\nOutput\n```xml\n<a attr=\"\" onClick=\"alert(1)\"></a>\n```\n\n### Workarounds\nIf you're not ignoring attributes then keep processEntities flag true.","format":"markdown","source":"ghsa"},{"lang":"es","text":"fast-xml-builder construye XML a partir de JSON. Antes de 1.1.7, cuando un dato de entrada tiene comillas en los valores de los atributos pero el procesamiento de entidades no está habilitado, divide el valor del atributo en múltiples atributos. Esto da pie a que un atacante inserte atributos no deseados en el XML/HTML. Esta vulnerabilidad está corregida en 1.1.7.","source":"nvd"}],"published":"2026-05-08T16:29:10.000Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-91","CWE-611"],"affected":[{"ranges":[{"version":"< 1.1.7","status":"affected"}],"vendor":"NaturalIntelligence","product":"fast-xml-builder","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.7"}],"ecosystem":"npm","package":"fast-xml-builder","purl":"pkg:npm/fast-xml-builder","source":"ghsa"}],"references":[{"url":"https://github.com/NaturalIntelligence/fast-xml-builder/security/advisories/GHSA-5wm8-gmm8-39j9","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44665","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-builder","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-18T15:04:25.555Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44665","url":"https://www.cve.org/CVERecord?id=CVE-2026-44665","licence":"CVE Terms of Use","modified":"2026-05-18T15:04:53.679Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5wm8-gmm8-39j9","url":"https://github.com/advisories/GHSA-5wm8-gmm8-39j9","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:04.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44665","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44665","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:21.600Z","epss":{"score":0.00236,"percentile":0.1565,"date":"2026-12-01T12:00:22.000Z"}}