{"id":"CVE-2026-44664","aliases":["GHSA-45c6-75p6-83cc"],"summary":"fast-xml-builder: Comment Value bypass regex","published_at":"2026-05-08T16:27:28Z","modified_at":"2026-09-10T03:51:04.58452Z","products":[],"rating":{"severity":"medium","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0019399999873712659,"percentile":0.09188999980688095,"date":"2026-11-19T00:00:00Z"},"priority":7.6,"details":"fast-xml-builder builds XML from JSON. In 1.1.5, the fix for CVE-2026-41650 in fast-xml-parser sanitizes -- sequences in XML comment content using .replace(/--/g, '- -'). This skip the values containing three consecutive dashes (e.g., --->...), allowing an attacker to break out of an XML comment and inject arbitrary XML/HTML content. This vulnerability is fixed in 1.1.6.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"NaturalIntelligence/fast-xml-builder","versions":["1.1.5"],"provider":"cvelistv5","source":"CVE-2026-44664","relation":"self"},{"ecosystem":"npm","package":"fast-xml-builder","purl":"pkg:npm/fast-xml-builder","ranges":[{"type":"SEMVER","events":[{"introduced":"1.1.5"},{"fixed":"1.1.6"}]}],"versions":["1.1.5"],"fixed":["1.1.6"],"provider":"osv","source":"GHSA-45c6-75p6-83cc","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"not_affected","packages":["advanced-cluster-security/rhacs-main-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-44664"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"not_affected","packages":["rhdh/rhdh-hub-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-44664"},{"vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","cpe":"cpe:/a:redhat:container_native_virtualization:4","status":"not_affected","packages":["container-native-virtualization/kubevirt-console-plugin","container-native-virtualization/kubevirt-console-plugin-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-44664"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/mcg-core-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-44664"},{"vendor":"Red Hat","product":"Self-service automation portal 2","cpe":"cpe:/a:redhat:ansible_portal:2","status":"affected","packages":["ansible-automation-platform/automation-portal"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-44664"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-44664","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-44664","license":"CC-BY-4.0","published_at":"2026-05-13T15:27:34.716Z","modified_at":"2026-05-13T16:46:25.862Z","summary":"fast-xml-builder: Comment Value bypass regex","details":"fast-xml-builder builds XML from JSON. In 1.1.5, the fix for CVE-2026-41650 in fast-xml-parser sanitizes -- sequences in XML comment content using .replace(/--/g, '- -'). This skip the values containing three consecutive dashes (e.g., --->...), allowing an attacker to break out of an XML comment and inject arbitrary XML/HTML content. This vulnerability is fixed in 1.1.6.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CVE-2026-44664"}],"affected":[{"ecosystem":"CVE","package":"NaturalIntelligence/fast-xml-builder","versions":["1.1.5"],"provider":"cvelistv5","source":"CVE-2026-44664","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/NaturalIntelligence/fast-xml-builder/security/advisories/GHSA-45c6-75p6-83cc"}]},{"provider":"osv","source_id":"GHSA-45c6-75p6-83cc","relation":"self","url":"https://osv.dev/vulnerability/GHSA-45c6-75p6-83cc","license":"CC-BY-4.0","published_at":"2026-05-08T16:27:28Z","modified_at":"2026-09-10T03:51:04.58452Z","summary":"fast-xml-builder Comment Value regex can be bypassed","details":"# Summary\nThe fix for https://github.com/advisories/GHSA-gh4j-gqv2-49f6 in fast-xml-parser sanitizes `--` sequences in XML comment content using .replace(/--/g, '- -'). This skip the values containing three consecutive dashes (e.g., --->...), allowing an attacker to break out of an XML comment and inject arbitrary XML/HTML content.\n\n### Impact\nAny application with comment property enabled allow attacker to inject malicious or unwanted code like JS script tag in the XML/HTML output.\n\n### Workarounds\nCheck for the presence of 3 consecutive dashes externally in the property value used for comment tag.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GHSA-45c6-75p6-83cc"}],"affected":[{"ecosystem":"npm","package":"fast-xml-builder","purl":"pkg:npm/fast-xml-builder","ranges":[{"type":"SEMVER","events":[{"introduced":"1.1.5"},{"fixed":"1.1.6"}]}],"versions":["1.1.5"],"fixed":["1.1.6"],"provider":"osv","source":"GHSA-45c6-75p6-83cc","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/NaturalIntelligence/fast-xml-builder/security/advisories/GHSA-45c6-75p6-83cc"},{"type":"WEB","url":"https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-gh4j-gqv2-49f6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44664"},{"type":"PACKAGE","url":"https://github.com/NaturalIntelligence/fast-xml-builder"}]},{"provider":"redhat-vex","source_id":"CVE-2026-44664","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-44664","license":"CC-BY-4.0","published_at":"2026-05-13T15:27:34.716Z","modified_at":"2026-05-20T09:58:23.073203Z","summary":"fast-xml-builder: fast-xml-builder: Arbitrary XML/HTML injection via insufficient sanitization of XML comments","details":"A flaw was found in fast-xml-builder. The software, which builds XML from JSON, incorrectly sanitizes XML comment content. This allows a remote attacker to bypass the sanitization by using three consecutive dashes, enabling them to break out of an XML comment and inject arbitrary XML or HTML content. This could lead to content manipulation or other impacts depending on how the generated XML is processed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CVE-2026-44664"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-44664"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"not_affected","packages":["advanced-cluster-security/rhacs-main-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-44664"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"not_affected","packages":["rhdh/rhdh-hub-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-44664"},{"vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","cpe":"cpe:/a:redhat:container_native_virtualization:4","status":"not_affected","packages":["container-native-virtualization/kubevirt-console-plugin","container-native-virtualization/kubevirt-console-plugin-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-44664"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/mcg-core-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-44664"},{"vendor":"Red Hat","product":"Self-service automation portal 2","cpe":"cpe:/a:redhat:ansible_portal:2","status":"affected","packages":["ansible-automation-platform/automation-portal"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-44664"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44664.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-44664"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2477164"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-44664"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44664"},{"type":"WEB","url":"https://github.com/NaturalIntelligence/fast-xml-builder/security/advisories/GHSA-45c6-75p6-83cc"}]}],"references":[{"type":"WEB","url":"https://github.com/NaturalIntelligence/fast-xml-builder/security/advisories/GHSA-45c6-75p6-83cc"},{"type":"WEB","url":"https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-gh4j-gqv2-49f6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44664"},{"type":"PACKAGE","url":"https://github.com/NaturalIntelligence/fast-xml-builder"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44664.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-44664"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2477164"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-44664"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-44664","url":"https://www.cve.org/CVERecord?id=CVE-2026-44664","license":"CC-BY-4.0","modified_at":"2026-05-13T16:46:25.862Z","relation":"self"},{"provider":"osv","source_id":"GHSA-45c6-75p6-83cc","url":"https://osv.dev/vulnerability/GHSA-45c6-75p6-83cc","license":"CC-BY-4.0","modified_at":"2026-09-10T03:51:04.58452Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-44664","url":"https://access.redhat.com/security/cve/CVE-2026-44664","license":"CC-BY-4.0","modified_at":"2026-05-20T09:58:23.073203Z","relation":"self"}]}
